[Java] Class Queryable.Order<T, U extends Comparable<? super U>>
- org.apache.groovy.ginq.provider.collection.runtime.Queryable.Order
public class Queryable.Order<T, U extends Comparable<? super U>>
Represents an order rule
-
Type Parameters:
T
- the type of element from Queryable instance
U
- the type of field to sort
-
Since:
-
4.0.0
Field Summary
Constructor Summary
Constructors
Constructor and description |
Order(Function<? super T, ? extends U> keyExtractor, boolean asc)
|
Order(Function<? super T, ? extends U> keyExtractor, boolean asc, boolean nullsLast)
|
Methods Summary
Inherited Methods Summary
Field Detail
public static final Order[] EMPTY_ARRAY
Constructor Detail
public Order(Function<? super T, ? extends U> keyExtractor, boolean asc)
public Order(Function<? super T, ? extends U> keyExtractor, boolean asc, boolean nullsLast)
Method Detail
@Override public int hashCode()
public boolean isAsc()
public boolean isNullsLast()