gate.util
Class SimpleArraySet
java.lang.Object
gate.util.SimpleArraySet
- public class SimpleArraySet
- extends Object
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
Field Summary |
(package private) Object[] |
theArray
The array storing the elements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theArray
Object[] theArray
- The array storing the elements
SimpleArraySet
public SimpleArraySet()
add
public boolean add(Object tr)
iterator
public Iterator iterator()
- iterator