com.jxml.quick.qmap
Class QIndexedComparableList
java.lang.Object
|
+--com.jxml.quick.qmap.QComparable
|
+--com.jxml.quick.qmap.QComparableList
|
+--com.jxml.quick.qmap.QIndexedComparableList
- All Implemented Interfaces:
- Cloneable, Comparable, QKeyed
- public class QIndexedComparableList
- extends QComparableList
- implements Cloneable
The key is a list of Comparable objects.
Method Summary |
void |
attach(Map container)
Set the map which holds this object and add this object to the map. |
void |
copy(Map newContainer)
|
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 |
container
public QIndexMap container
QIndexedComparableList
public QIndexedComparableList()
QIndexedComparableList
public QIndexedComparableList(Map container,
List keyList)
attach
public void attach(Map container)
- Description copied from interface:
QKeyed
- Set the map which holds this object and add this object to the map.
(Set to null when removed from a container.)
- Overrides:
attach
in class QComparable
index
public int index(int k)
- Provides for reordering the keys in subclasses.
- Overrides:
index
in class QComparableList
copy
public void copy(Map newContainer)