uka.util
Class DoubleSet

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

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

See Also:
Serialized Form

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

Field Detail

map

DoubleIDMap map

unusedIDs

IntQueue unusedIDs
Constructor Detail

DoubleSet

public DoubleSet()
Method Detail

add

public boolean add(double value)

isEmpty

public boolean isEmpty()

getSize

public int getSize()

contains

public boolean contains(double value)

remove

public boolean remove(double value)

clear

public void clear()

toArray

public EnlargingDoubleArray toArray(EnlargingDoubleArray a)

iterator

public DoubleIterator iterator()

toArray

public double[] toArray(double[] a)