com.hp.hpl.guess.util
Class SortableHashSet

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.HashSet
              extended bycom.hp.hpl.guess.util.AnnoHashSet
                  extended bycom.hp.hpl.guess.util.SortableHashSet
All Implemented Interfaces:
Cloneable, Collection, Comparable, Serializable, Set

public class SortableHashSet
extends AnnoHashSet
implements Comparable

See Also:
Serialized Form

Field Summary
 Comparable key
           
 
Fields inherited from class com.hp.hpl.guess.util.AnnoHashSet
annotation
 
Constructor Summary
SortableHashSet(Comparable key)
           
SortableHashSet(Field f, Comparable key)
           
SortableHashSet(String f, Comparable key)
           
 
Method Summary
 int compareTo(Object o)
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Field Detail

key

public Comparable key
Constructor Detail

SortableHashSet

public SortableHashSet(Comparable key)

SortableHashSet

public SortableHashSet(String f,
                       Comparable key)

SortableHashSet

public SortableHashSet(Field f,
                       Comparable key)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable