org.eclipse.mat.inspections.collections
Class CollectionUtil.IdentityInfo
java.lang.Object
org.eclipse.mat.inspections.collections.CollectionUtil.Info
org.eclipse.mat.inspections.collections.CollectionUtil.IdentityInfo
- Enclosing class:
- CollectionUtil
public static class CollectionUtil.IdentityInfo
- extends CollectionUtil.Info
Info for IdentityHashMaps
These are stored as key/value pairs in an array
Methods inherited from class org.eclipse.mat.inspections.collections.CollectionUtil.Info |
getBackingArray, getBackingArrayField, getClassName, getCollectionExtractor, getEntryKeyField, getEntryValueField, getNumberOfNoNullArrayElements, getSize, hasBackingArray, hasSize, isMap, toString |
getCapacity
public int getCapacity(IObject collection)
throws SnapshotException
- Gets the capacity of the map.
Needs two array elements for each entry.
- Overrides:
getCapacity
in class CollectionUtil.Info
- Throws:
SnapshotException