GATE
Version 3.1-2270

gate.util
Class SimpleArraySet

java.lang.Object
  extended by 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

Constructor Summary
SimpleArraySet()
           
 
Method Summary
 boolean add(Object tr)
           
 Collection asCollection()
           
 Iterator iterator()
          iterator
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleArraySet

public SimpleArraySet()
Method Detail

size

public int size()

asCollection

public Collection asCollection()

add

public boolean add(Object tr)

iterator

public Iterator iterator()
iterator


GATE
Version 3.1-2270