uka.util
Class IDPool

java.lang.Object
  extended byuka.util.IDPool

public class IDPool
extends java.lang.Object

Author:
Bernhard Haumacher

Nested Class Summary
(package private)  class IDPool.Free
           
 
Field Summary
(package private)  int next
           
(package private)  IDPool.Free unused
           
 
Constructor Summary
IDPool(int first)
           
 
Method Summary
 int allocateID()
           
 void freeID(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

int next

unused

IDPool.Free unused
Constructor Detail

IDPool

public IDPool(int first)
Method Detail

allocateID

public int allocateID()

freeID

public void freeID(int id)