Package org.lambda.query
Class OrderBy<T,Out extends Comparable<?>>
java.lang.Object
org.lambda.query.OrderBy<T,Out>
- All Implemented Interfaces:
Comparator<T>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,Out extends Comparable<Out>>
OrderBy<T,Out> intstatic intcompareNull(Object o1, Object o2) static <T,Out extends Comparable<Out>>
OrderBy<T,Out> descending(Function1<T, Out> f1) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
OrderBy
-
OrderBy
-
-
Method Details
-
ascending
-
descending
-
compare
- Specified by:
comparein interfaceComparator<T>
-
compareNull
-