org.neodatis.odb.core.query
Class SimpleCompareKey
java.lang.Object
org.neodatis.odb.core.query.CompareKey
org.neodatis.odb.core.query.SimpleCompareKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, OdbComparable
public class SimpleCompareKey
- extends CompareKey
A simple compare key : an object that contains various values used for indexing query result
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SimpleCompareKey
public SimpleCompareKey(java.lang.Comparable key)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
- Specified by:
compareTo
in interface OdbComparable
- Specified by:
compareTo
in class CompareKey
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object