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
Methods inherited from class java.util.TreeSet |
add, addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet |
PrefixSet
public PrefixSet(Collection x)
containsPrefix
public boolean containsPrefix(String test)