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 ComparatorComparable datatype. Those datatypes which has order relation must implement this interface. RangeFacet uses this interface to do its job. It differs fromComparatorin return value.
-
-
Field Summary
Fields Modifier and Type Field Description static intEQUALstatic intGREATERstatic intLESSstatic intUNDECIDABLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompare(java.lang.Object o1, java.lang.Object o2)compare to value types and decides its order relation
-
-
-
Field Detail
-
LESS
static final int LESS
- See Also:
- Constant Field Values
-
EQUAL
static final int EQUAL
- See Also:
- Constant Field Values
-
GREATER
static final int GREATER
- See Also:
- Constant Field Values
-
UNDECIDABLE
static final int UNDECIDABLE
- See Also:
- Constant Field Values
-
-