W3cubDocs

/Haxe Java

Comparator<T>

package java.util

extended by Arrays_NaturalOrder

Available on java

Methods

compare(param1:T, param2:T):Int

reversed():Comparator<T>

thenComparing<U>(param1:Function<Dynamic, U>):Comparator<T>

thenComparing(param1:Comparator<Dynamic>):Comparator<T>

thenComparing<U>(param1:Function<Dynamic, U>, param2:Comparator<Dynamic>):Comparator<T>

thenComparingDouble(param1:ToDoubleFunction<Dynamic>):Comparator<T>

thenComparingInt(param1:ToIntFunction<Dynamic>):Comparator<T>

thenComparingLong(param1:ToLongFunction<Dynamic>):Comparator<T>

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/util/Comparator.html