agentland.games
Class PrefixSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
              |
              +--java.util.TreeSet
                    |
                    +--agentland.games.PrefixSet
All Implemented Interfaces:
Cloneable, Collection, Serializable, Set, SortedSet

public class PrefixSet
extends TreeSet

Wanna-be-Inner class for performing prefix comparisons when doing set ordering with the Zork dictionary list.

See Also:
Serialized Form

Constructor Summary
PrefixSet(Collection x)
           
 
Method Summary
 boolean containsPrefix(String test)
           
 
Methods inherited from class java.util.TreeSet
add, addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

PrefixSet

public PrefixSet(Collection x)
Method Detail

containsPrefix

public boolean containsPrefix(String test)