java.lang.Object
org.apache.groovy.ginq.provider.collection.runtime.Queryable.Order<T,U>
 
- Type Parameters:
 
T - the type of element from Queryable instance 
U - the type of field to sort 
- Enclosing interface:
 
- Queryable<T>
 
public static class Queryable.Order<T,U extends Comparable<? super U>>
extends Object 
Represents an order rule
- Since:
 
- 4.0.0
 
- 
 
- 
Constructor Summary
Constructors
 
Order(Function<? super T,? extends U> keyExtractor,
 boolean asc,
 boolean nullsLast) 
 
 
 
- 
Method Summary
boolean
 
 
int
 
boolean
 
boolean
 
 
 
 
 
- 
 
- 
Constructor Details
- 
Order
public Order(Function<? super T,? extends U> keyExtractor,
 boolean asc) 
 
- 
Order
public Order(Function<? super T,? extends U> keyExtractor,
 boolean asc,
 boolean nullsLast) 
 
 
- 
Method Details
- 
 
- 
isAsc
public boolean isAsc()
 
- 
isNullsLast
public boolean isNullsLast()
 
- 
 
-