com.jxml.quick.qmap
Class QComparableList
java.lang.Object
|
+--com.jxml.quick.qmap.QComparable
|
+--com.jxml.quick.qmap.QComparableList
- All Implemented Interfaces:
- Comparable, QKeyed
- Direct Known Subclasses:
- QIndexedComparableList
- public class QComparableList
- extends QComparable
The key is a list of Comparable objects.
Method Summary |
int |
compareTo(Object o)
|
int |
index(int k)
Provides for reordering the keys in subclasses. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyList
public List keyList
QComparableList
public QComparableList()
QComparableList
public QComparableList(Map container,
List keyList)
index
public int index(int k)
- Provides for reordering the keys in subclasses.
compareTo
public int compareTo(Object o)
- Overrides:
compareTo
in class QComparable