Package com.sun.msv.datatype.xsd
Interface Comparator
- All Known Implementing Classes:
ByteType
,DateTimeBaseType
,DateTimeType
,DateType
,DoubleType
,DurationType
,FloatingNumberType
,FloatType
,GDayType
,GMonthDayType
,GMonthType
,GYearMonthType
,GYearType
,IntegerDerivedType
,IntegerType
,IntType
,LongType
,NegativeIntegerType
,NonNegativeIntegerType
,NonPositiveIntegerType
,NumberType
,PositiveIntegerType
,ShortType
,TimeType
,UnsignedByteType
,UnsignedIntType
,UnsignedLongType
,UnsignedShortType
public interface Comparator
Comparable datatype.
Those datatypes which has order relation must implement this interface.
RangeFacet uses this interface to do its job.
It differs from
Comparator
in return value.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
LESS
static final int LESS- See Also:
-
EQUAL
static final int EQUAL- See Also:
-
GREATER
static final int GREATER- See Also:
-
UNDECIDABLE
static final int UNDECIDABLE- See Also:
-
-
Method Details
-
compare
compare to value types and decides its order relation
-