Package me.datafox.dfxengine.handles.api
Interface Handled
- All Superinterfaces:
Comparable<Handled>
- All Known Subinterfaces:
Group,NumberFormatter,NumberSuffixFormatter,Space,Value
- All Known Implementing Classes:
CharDigitSuffixFormatter,EvenLengthNumberFormatter,ExponentSuffixFormatter,GroupImpl,MappingOperationModifier.SpecialValue,NamedSuffixFormatter,SimpleNumberFormatter,SpaceImpl,SplittingNumberFormatter,StaticValue,ValueImpl
An interface determining that any class implementing it should be identified with a
Handle.-
Method Summary
-
Method Details
-
getHandle
Handle getHandle()- Returns:
- identifying
Handleof this object
-
compareTo
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The order of objects is specified by their handles, usingHandle.compareTo(Handle).- Specified by:
compareToin interfaceComparable<Handled>- Parameters:
o- object to be compared.- Returns:
- negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object
- Throws:
NullPointerException- if the specified object isnull
-