org.neodatis.odb.core.query
Class ComposedCompareKey
java.lang.Object
org.neodatis.odb.core.query.CompareKey
org.neodatis.odb.core.query.ComposedCompareKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, OdbComparable
public class ComposedCompareKey
- extends CompareKey
A composed key : an object that contains various values used for indexing query result
This is an implementation that allows compare keys to contain more than one single value to be compared
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ComposedCompareKey
public ComposedCompareKey(OdbComparable[] keys)
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