uka.util
Class ShortSet

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

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

See Also:
Serialized Form

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

Field Detail

map

ShortIDMap map

unusedIDs

IntQueue unusedIDs
Constructor Detail

ShortSet

public ShortSet()
Method Detail

add

public boolean add(short value)

isEmpty

public boolean isEmpty()

getSize

public int getSize()

contains

public boolean contains(short value)

remove

public boolean remove(short value)

clear

public void clear()

toArray

public EnlargingShortArray toArray(EnlargingShortArray a)

iterator

public ShortIterator iterator()

toArray

public short[] toArray(short[] a)