org.eclipse.mat.inspections.collections
Class CollectionUtil.IdentityInfo

java.lang.Object
  extended by org.eclipse.mat.inspections.collections.CollectionUtil.Info
      extended by 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


Method Summary
 int getCapacity(IObject collection)
          Gets the capacity of the map.
 
Methods inherited from class org.eclipse.mat.inspections.collections.CollectionUtil.Info
getBackingArray, getBackingArrayField, getClassName, getCollectionExtractor, getEntryKeyField, getEntryValueField, getNumberOfNoNullArrayElements, getSize, hasBackingArray, hasSize, isMap, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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