TUM CCSM Commons

edu.tum.cs.commons.collections
Class IdManager<K>

java.lang.Object
  extended by edu.tum.cs.commons.collections.IdManagerBase<K>
      extended by edu.tum.cs.commons.collections.IdManager<K>

public class IdManager<K>
extends IdManagerBase<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.

Version:
$Rev: 26283 $
Author:
Florian Deissenboeck, $Author: juergens $
Rating:
GREEN Hash: 7F64443CA2D3CBFBBC675E2EE57487E7

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

IdManager

public IdManager()
Create new id manager


TUM CCSM Commons

TUM CCSM Commons - 2.7