public class InstanceGroup
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
InstanceGroup.TypeInstance |
Modifier and Type | Field and Description |
---|---|
private java.util.WeakHashMap<java.lang.Object,InstanceGroup.TypeInstance> |
instances |
private static java.util.logging.Logger |
LOGGER |
private java.lang.String |
shortType |
Constructor and Description |
---|
InstanceGroup(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
void |
addInstance(java.lang.Object o,
java.lang.String id) |
int |
amountLeft() |
InstanceGroup.TypeInstance |
getInstance(java.lang.Object o) |
java.lang.String |
getPrintStatistics() |
static java.lang.String |
shortType(java.lang.String type) |
private static final java.util.logging.Logger LOGGER
private final java.util.WeakHashMap<java.lang.Object,InstanceGroup.TypeInstance> instances
private final java.lang.String shortType
public static java.lang.String shortType(java.lang.String type)
public void addInstance(java.lang.Object o, java.lang.String id)
public java.lang.String getPrintStatistics()
public int amountLeft()
public InstanceGroup.TypeInstance getInstance(java.lang.Object o)