|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.internal.collectionextract.MapCollectionExtractorBase
org.eclipse.mat.internal.collectionextract.HashedMapCollectionExtractorBase
org.eclipse.mat.internal.collectionextract.HashMapCollectionExtractor
public class HashMapCollectionExtractor
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.mat.inspections.collectionextract.IMapExtractor |
---|
IMapExtractor.EntryObject |
Constructor Summary | |
---|---|
HashMapCollectionExtractor(String sizeField,
String arrayField,
String keyField,
String valueField)
|
Method Summary | |
---|---|
IObjectArray |
extractEntries(IObject coll)
Extracts the array containing the collection content |
int[] |
extractEntryIds(IObject coll)
Returns the object ids (int) for all objects which are contained in the collection |
IObjectArray |
getBackingArray(IObject coll)
|
Integer |
getCapacity(IObject coll)
Return the capacity of the collection, if applicable |
Integer |
getNumberOfNotNullElements(IObject collection)
Returns the number of non-null elements in the collection. |
boolean |
hasExtractableArray()
Return true if the collection array based and the array can be extracted from the heap dump |
boolean |
hasExtractableContents()
Check if the collection has extractable contents |
Methods inherited from class org.eclipse.mat.internal.collectionextract.HashedMapCollectionExtractorBase |
---|
getCollisionRatio, getFillRatio, getSize, hasCollisionRatio, hasFillRatio, hasSize |
Methods inherited from class org.eclipse.mat.internal.collectionextract.MapCollectionExtractorBase |
---|
extractMapEntries, hasCapacity |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashMapCollectionExtractor(String sizeField, String arrayField, String keyField, String valueField)
Method Detail |
---|
public boolean hasExtractableContents()
ICollectionExtractor
public boolean hasExtractableArray()
ICollectionExtractor
public IObjectArray extractEntries(IObject coll) throws SnapshotException
ICollectionExtractor
SnapshotException
public int[] extractEntryIds(IObject coll) throws SnapshotException
ICollectionExtractor
SnapshotException
public Integer getCapacity(IObject coll) throws SnapshotException
ICollectionExtractor
getCapacity
in interface ICollectionExtractor
getCapacity
in class MapCollectionExtractorBase
SnapshotException
public Integer getNumberOfNotNullElements(IObject collection) throws SnapshotException
ICollectionExtractor
SnapshotException
public IObjectArray getBackingArray(IObject coll) throws SnapshotException
SnapshotException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |