| Package | Description |
|---|---|
| com.jidesoft.comparator |
The package contains all kinds of comparators for JIDE Common Layer.
|
| com.jidesoft.grouper |
The package contains all kinds of object groupers for JIDE Common Layer.
|
| Modifier and Type | Field and Description |
|---|---|
static ComparatorContext |
CharSequenceComparator.CONTEXT |
static ComparatorContext |
AlphanumFileComparator.CONTEXT |
static ComparatorContext |
AlphanumComparator.CONTEXT |
static ComparatorContext |
NumberComparator.CONTEXT_ABSOLUTE
Comparator Context to compare two values using the absolute value.
|
static ComparatorContext |
CharSequenceComparator.CONTEXT_IGNORE_CASE |
static ComparatorContext |
AlphanumFileComparator.CONTEXT_IGNORE_CASE |
static ComparatorContext |
AlphanumComparator.CONTEXT_IGNORE_CASE |
static ComparatorContext |
ComparatorContext.DEFAULT_CONTEXT
Default comparator context with empty name and no user object.
|
| Modifier and Type | Method and Description |
|---|---|
static ComparatorContext[] |
ObjectComparatorManager.getComparatorContexts(java.lang.Class<?> clazz)
Gets the available ComparatorContexts registered with the class.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
ObjectComparatorManager.compare(java.lang.Object o1,
java.lang.Object o2,
java.lang.Class<?> clazz,
ComparatorContext context)
Compares the two objects.
|
static int |
ObjectComparatorManager.compare(java.lang.Object o1,
java.lang.Object o2,
ComparatorContext context)
Compares the two objects.
|
static java.util.Comparator |
ObjectComparatorManager.getComparator(java.lang.Class<?> clazz,
ComparatorContext context)
Gets the comparator.
|
static void |
ObjectComparatorManager.registerComparator(java.lang.Class<?> clazz,
java.util.Comparator comparator,
ComparatorContext context)
Registers a comparator with the type specified as class and a comparator context specified as context.
|
static void |
ObjectComparatorManager.unregisterComparator(java.lang.Class<?> clazz,
ComparatorContext context)
Unregisters comparator associated with the class and context.
|
| Modifier and Type | Method and Description |
|---|---|
ComparatorContext |
AbstractObjectGrouper.getComparatorContext() |
ComparatorContext |
ObjectGrouper.getComparatorContext()
Gets the comparator context for the value returned from this object grouper.
|