|
||||||||||
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.TreeMapCollectionExtractor
public class TreeMapCollectionExtractor
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.mat.inspections.collectionextract.IMapExtractor |
---|
IMapExtractor.EntryObject |
Constructor Summary | |
---|---|
TreeMapCollectionExtractor(String sizeField,
String keyField,
String valueField)
|
Method Summary | |
---|---|
IObjectArray |
extractEntries(IObject coll)
Extracts the array containing the collection content |
int[] |
extractEntryIds(IObject treeMap)
Returns the object ids (int) for all objects which are contained in the collection |
Double |
getCollisionRatio(IObject collection)
Calculates the collision ratio in the collection |
Double |
getFillRatio(IObject coll)
Calculate the fill ration of a collection |
Integer |
getNumberOfNotNullElements(IObject coll)
Returns the number of non-null elements in the collection. |
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio |
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 |
boolean |
hasFillRatio()
Check if fill ratio for the collection can be calculated, i.e. |
boolean |
hasSize()
Check if the size of the collection can be extracted |
Methods inherited from class org.eclipse.mat.internal.collectionextract.MapCollectionExtractorBase |
---|
extractMapEntries, getCapacity, getSize, hasCapacity |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeMapCollectionExtractor(String sizeField, String keyField, String valueField)
Method Detail |
---|
public boolean hasExtractableArray()
ICollectionExtractor
public IObjectArray extractEntries(IObject coll) throws SnapshotException
ICollectionExtractor
SnapshotException
public boolean hasExtractableContents()
ICollectionExtractor
public int[] extractEntryIds(IObject treeMap) throws SnapshotException
ICollectionExtractor
SnapshotException
public boolean hasSize()
ICollectionExtractor
public Integer getNumberOfNotNullElements(IObject coll) throws SnapshotException
ICollectionExtractor
SnapshotException
public boolean hasCollisionRatio()
IMapExtractor
public Double getCollisionRatio(IObject collection)
IMapExtractor
public boolean hasFillRatio()
ICollectionExtractor
public Double getFillRatio(IObject coll) throws SnapshotException
ICollectionExtractor
SnapshotException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |