|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.property.ValueComparators
@Immutable public class ValueComparators
A set of Comparator
objects for the different kinds of property values.
PropertyType.getComparator()
Field Summary | |
---|---|
static Comparator<Binary> |
BINARY_COMPARATOR
A comparator of binary values. |
static Comparator<Boolean> |
BOOLEAN_COMPARATOR
A comparator of boolean values. |
static Comparator<Calendar> |
CALENDAR_COMPARATOR
A comparator of calendar values. |
static Comparator<Date> |
DATE_COMPARATOR
A comparator of date values. |
static Comparator<DateTime> |
DATE_TIME_COMPARATOR
A comparator of date-time instances. |
static Comparator<BigDecimal> |
DECIMAL_COMPARATOR
A comparator of decimal values. |
static Comparator<Double> |
DOUBLE_COMPARATOR
A comparator of double values. |
static Comparator<Long> |
LONG_COMPARATOR
A comparator of long values. |
static Comparator<Name> |
NAME_COMPARATOR
A comparator of name values. |
static Comparator<Object> |
OBJECT_COMPARATOR
A comparator of other values. |
static Comparator<Path> |
PATH_COMPARATOR
A comparator of path values. |
static Comparator<Path.Segment> |
PATH_SEGMENT_COMPARATOR
A comparator of path segment values. |
static Comparator<Reference> |
REFERENCE_COMPARATOR
A comparator of reference values. |
static Comparator<String> |
STRING_COMPARATOR
A comparator of string values. |
static Comparator<URI> |
URI_COMPARATOR
A comparator of URI values. |
static Comparator<UUID> |
UUID_COMPARATOR
A comparator of UUID values. |
Constructor Summary | |
---|---|
ValueComparators()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Comparator<String> STRING_COMPARATOR
public static final Comparator<Long> LONG_COMPARATOR
public static final Comparator<Double> DOUBLE_COMPARATOR
public static final Comparator<BigDecimal> DECIMAL_COMPARATOR
public static final Comparator<Binary> BINARY_COMPARATOR
Binary
is Comparable
, this comparator does not rely upon any
particular Binary implementation. Thus, Binary implementations can use this for their Comparable.compareTo(Object)
implementation.
public static final Comparator<Boolean> BOOLEAN_COMPARATOR
public static final Comparator<DateTime> DATE_TIME_COMPARATOR
public static final Comparator<Date> DATE_COMPARATOR
public static final Comparator<Calendar> CALENDAR_COMPARATOR
public static final Comparator<Name> NAME_COMPARATOR
public static final Comparator<Path> PATH_COMPARATOR
public static final Comparator<Path.Segment> PATH_SEGMENT_COMPARATOR
public static final Comparator<URI> URI_COMPARATOR
public static final Comparator<UUID> UUID_COMPARATOR
public static final Comparator<Reference> REFERENCE_COMPARATOR
public static final Comparator<Object> OBJECT_COMPARATOR
Constructor Detail |
---|
public ValueComparators()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |