ewe.util
Interface Comparable

All Known Subinterfaces:
DataUnit, EditableData, LiveData
All Known Implementing Classes:
BigDecimal, BigInteger, DataObject, EditableObject, LiveObject, SubString, TreeConfigFile

public interface Comparable


Method Summary
 int compareTo(Object other)
          Compare this object with another.
 

Method Detail

compareTo

public int compareTo(Object other)
Compare this object with another. It should return: less than 0 if this object is considered LESS than the "other" object; greater than 0 if this object is considered GREATER than the "other" object; 0 if this object is considered EQUAL to the "other" object. (i.e. it is an implicit subtraction).