|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuka.util.DenseIDSpace
| Field Summary | |
private int |
nextID
|
| Constructor Summary | |
DenseIDSpace()
|
|
| Method Summary | |
void |
appendTo(ToString s)
This method should append the contents of each instance variable of the current
object to the given ToString object. |
void |
clear()
|
int |
create()
|
void |
create(int id)
|
IntIterator |
getUsedIDs()
|
boolean |
isUsed(int id)
|
void |
remove(int id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int nextID
| Constructor Detail |
public DenseIDSpace()
| Method Detail |
public int create()
create in interface IDSpacepublic void create(int id)
create in interface IDSpacepublic void remove(int id)
remove in interface IDSpacepublic IntIterator getUsedIDs()
getUsedIDs in interface IDSpacepublic boolean isUsed(int id)
isUsed in interface IDSpacepublic void clear()
clear in interface IDSpacepublic void appendTo(ToString s)
Printableappend the contents of each instance variable of the current
object to the given ToString object. The appended data
should be labeled with the name of the corresponding instance
variable.
appendTo in interface PrintableToString,
ToString.append(String, Object),
ToString.append(String, boolean),
ToString.append(String, byte),
ToString.append(String, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||