|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.tum.cs.commons.collections.IdManagerBase<K>
edu.tum.cs.commons.collections.IdManager<K>
public class IdManager<K>
This class assigns unique ids to objects. The id creation is based on
hashCode()/equals()
-semantics.
Note that obtaining a unique id from this class for an object prevents it from being garbage collected.
Constructor Summary | |
---|---|
IdManager()
Create new id manager |
Method Summary |
---|
Methods inherited from class edu.tum.cs.commons.collections.IdManagerBase |
---|
clear, obtainId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdManager()
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |