public abstract class OrderByComparatorAdapter<T,V> extends OrderByComparator<T>
Constructor and Description |
---|
OrderByComparatorAdapter(OrderByComparator<V> orderByComparator) |
Modifier and Type | Method and Description |
---|---|
abstract V |
adapt(T t) |
int |
compare(T o1,
T o2) |
OrderByComparator<V> |
getAdaptedOrderByComparator() |
String |
getOrderBy() |
String[] |
getOrderByConditionFields() |
Object[] |
getOrderByConditionValues(Object obj) |
String[] |
getOrderByFields() |
boolean |
isAscending() |
boolean |
isAscending(String field) |
String |
toString() |
public OrderByComparatorAdapter(OrderByComparator<V> orderByComparator)
public OrderByComparator<V> getAdaptedOrderByComparator()
public String getOrderBy()
getOrderBy
in class OrderByComparator<T>
public String[] getOrderByConditionFields()
getOrderByConditionFields
in class OrderByComparator<T>
public Object[] getOrderByConditionValues(Object obj)
getOrderByConditionValues
in class OrderByComparator<T>
public String[] getOrderByFields()
getOrderByFields
in class OrderByComparator<T>
public boolean isAscending()
isAscending
in class OrderByComparator<T>
public boolean isAscending(String field)
isAscending
in class OrderByComparator<T>
public String toString()
toString
in class OrderByComparator<T>