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.


Field Summary
 List keyList
           
 
Constructor Summary
QComparableList()
           
QComparableList(Map container, List keyList)
           
 
Method Summary
 int compareTo(Object o)
           
 int index(int k)
          Provides for reordering the keys in subclasses.
 
Methods inherited from class com.jxml.quick.qmap.QComparable
attach, key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyList

public List keyList
Constructor Detail

QComparableList

public QComparableList()

QComparableList

public QComparableList(Map container,
                       List keyList)
Method Detail

index

public int index(int k)
Provides for reordering the keys in subclasses.

compareTo

public int compareTo(Object o)
Overrides:
compareTo in class QComparable