uka.util
Class ByteSet

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

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

See Also:
Serialized Form

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

Field Detail

map

ByteIDMap map

unusedIDs

IntQueue unusedIDs
Constructor Detail

ByteSet

public ByteSet()
Method Detail

add

public boolean add(byte value)

isEmpty

public boolean isEmpty()

getSize

public int getSize()

contains

public boolean contains(byte value)

remove

public boolean remove(byte value)

clear

public void clear()

toArray

public EnlargingByteArray toArray(EnlargingByteArray a)

iterator

public ByteIterator iterator()

toArray

public byte[] toArray(byte[] a)