Example usage for Java org.apache.commons.collections.comparators NullComparator fields, constructors, methods, implement or subclass
The text is from its open source code.
NullComparator() Construct an instance that sorts null higher than any non-null object it is compared with. | |
NullComparator(Comparator nonNullComparator) Construct an instance that sorts null higher than any non-null object it is compared with. | |
NullComparator(boolean nullsAreHigh) Construct an instance that sorts null higher or lower than any non-null object it is compared with. | |
NullComparator(Comparator nonNullComparator, boolean nullsAreHigh) Construct an instance that sorts null higher or lower than any non-null object it is compared with. |
int | compare(Object o1, Object o2) Perform a comparison between two objects. |