Available on java
@:overloadstaticmaxBy<T>(param1:Comparator<Dynamic>):BinaryOperator<T>
@:overloadstaticminBy<T>(param1:Comparator<Dynamic>):BinaryOperator<T>