net.chayden.eliza
Class SynList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--net.chayden.eliza.SynList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class SynList
extends java.util.Vector

Eliza synonym list. Collection of all the synonym elements.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SynList()
           
 
Method Summary
 void add(WordList words)
          Add another word list the the synonym list.
 WordList find(java.lang.String s)
          Find a synonym word list given the any word in it.
 void print(int indent)
          Prnt the synonym lists.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

SynList

public SynList()
Method Detail

add

public void add(WordList words)
Add another word list the the synonym list.


print

public void print(int indent)
Prnt the synonym lists.


find

public WordList find(java.lang.String s)
Find a synonym word list given the any word in it.