net.sf.colossus.util
Class InstanceGroup
java.lang.Object
net.sf.colossus.util.InstanceGroup
public class InstanceGroup
- extends java.lang.Object
Storage object for all objects of one class type registered in
InstanceTracker.
- Author:
- Clemens Katzer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final java.util.logging.Logger LOGGER
instances
private final java.util.WeakHashMap<java.lang.Object,InstanceGroup.TypeInstance> instances
shortType
private final java.lang.String shortType
InstanceGroup
public InstanceGroup(java.lang.String type)
shortType
public static java.lang.String shortType(java.lang.String type)
addInstance
public void addInstance(java.lang.Object o,
java.lang.String id)
getPrintStatistics
public java.lang.String getPrintStatistics()
amountLeft
public int amountLeft()
getInstance
public InstanceGroup.TypeInstance getInstance(java.lang.Object o)