com.jxml.quick.qmap
Class QIndexMap
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.TreeMap
|
+--com.jxml.quick.qmap.QIndexMap
- All Implemented Interfaces:
- Cloneable, Map, QIndex, Serializable, SortedMap
- public class QIndexMap
- extends TreeMap
- implements QIndex
A fancy iterator.
- See Also:
- Serialized Form
Methods inherited from class java.util.TreeMap |
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
ndx
public int[] ndx
values
public Map values
qualifier
public QQualifier qualifier
munger
public QMunger munger
iterator
public Iterator iterator
last
public List last
QIndexMap
public QIndexMap()
QIndexMap
public QIndexMap(Map values,
List order,
QQualifier qualifier,
QMunger munger)
- Parameters:
order
- a list of Integer objects.
reset
public void reset()
hasNext
public boolean hasNext()
next
public List next()
index
public int index(int k)
- Specified by:
index
in interface QIndex