gate.util
Class SimpleArraySet
java.lang.Object
gate.util.SimpleArraySet
- All Implemented Interfaces:
- Serializable
public class SimpleArraySet
- extends Object
- implements Serializable
A specific *partial* implementation of the Set interface used for
high performance and memory reduction on small sets. Used in
gate.fsm.State, for example
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleArraySet
public SimpleArraySet()
size
public int size()
asCollection
public Collection asCollection()
add
public boolean add(Object tr)
iterator
public Iterator iterator()
- iterator