com.jidesoft.comparator |
|
Java Source File Name | Type | Comment |
BooleanComparator.java | Class | Comparator for boolean type. |
CalendarComparator.java | Class | Comparator for Calendar type. |
ComparableComparator.java | Class | A Comparator that compares Comparable objects.
Throws ClassCastExceptions if the objects are not
Comparable, or if they are null.
Throws ClassCastException if the compareTo of both
objects do not provide an inverse result of each other
as per the Comparable javadoc. |
ComparatorContext.java | Class | The context object used by ObjectComparatorManager .
For the same type, we may need different way to compare them. |
DefaultComparator.java | Class | Badly named, this class compares objects by first converting them to
Strings using the toString method. |
FastComparableComparator.java | Class | A Comparator that compares Comparable objects.
Throws ClassCastExceptions if the objects are not
Comparable, or if they are null.
Different from
ComparableComparator , it will not throw exception
when the two compareTo methods don't provide an inverse result of each other
as per the Comparable javadoc. |
NumberComparator.java | Class | Comparator for Number type. |
ObjectComparatorManager.java | Class | A global object that can register comparator with a type and a ComparatorContext. |