uka.util
Class BooleanSet

java.lang.Object
  extended byuka.util.BooleanSet
All Implemented Interfaces:
java.io.Serializable

public class BooleanSet
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  BooleanIDMap map
           
(package private)  IntQueue unusedIDs
           
 
Constructor Summary
BooleanSet()
           
 
Method Summary
 boolean add(boolean value)
           
 void clear()
           
 boolean contains(boolean value)
           
 int getSize()
           
 boolean isEmpty()
           
 BooleanIterator iterator()
           
 boolean remove(boolean value)
           
 boolean[] toArray(boolean[] a)
           
 EnlargingBooleanArray toArray(EnlargingBooleanArray a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

BooleanIDMap map

unusedIDs

IntQueue unusedIDs
Constructor Detail

BooleanSet

public BooleanSet()
Method Detail

add

public boolean add(boolean value)

isEmpty

public boolean isEmpty()

getSize

public int getSize()

contains

public boolean contains(boolean value)

remove

public boolean remove(boolean value)

clear

public void clear()

toArray

public EnlargingBooleanArray toArray(EnlargingBooleanArray a)

iterator

public BooleanIterator iterator()

toArray

public boolean[] toArray(boolean[] a)