Package | Description |
---|---|
org.cojen.util |
Modifier and Type | Method and Description |
---|---|
BeanComparator<T> |
BeanComparator.caseSensitive()
Override the collator and compare just the last order-by property using
String.compareTo , if it is of type
String. |
BeanComparator<T> |
BeanComparator.collate(Comparator<String> c)
Set a Comparator for ordering Strings, which is passed on to all
BeanComparators derived from this one.
|
static <T> BeanComparator<T> |
BeanComparator.forClass(Class<T> clazz)
Get or create a new BeanComparator for beans of the given type.
|
BeanComparator<T> |
BeanComparator.nullHigh()
Set the order of comparisons against null as being high (the default)
on just the last
order-by property. |
BeanComparator<T> |
BeanComparator.nullLow()
Set the order of comparisons against null as being low
on just the last
order-by property. |
BeanComparator<T> |
BeanComparator.orderBy(String propertyName)
Add an order-by property to produce a more refined Comparator.
|
BeanComparator<T> |
BeanComparator.reverse()
Toggle reverse-order option on just the last
order-by
property. |
<S> BeanComparator<T> |
BeanComparator.using(Comparator<S> c)
Specifiy a Comparator to use on just the last
order-by
property. |
Copyright © 2004-2015 Cojen. All Rights Reserved.