W3cubDocs

/Haxe Java

Comparator_Statics

package java.util

import java.util.Comparator

Available on java

Static methods

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

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

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

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

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

staticnaturalOrder<T>():Comparator<T>

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

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

staticreverseOrder<T>():Comparator<T>

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