|
||||||||||
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
public abstract class HashedMapCollectionExtractorBase
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.mat.inspections.collectionextract.IMapExtractor |
---|
IMapExtractor.EntryObject |
Constructor Summary | |
---|---|
HashedMapCollectionExtractorBase(String sizeField,
String arrayField,
String keyField,
String valueField)
|
Method Summary | |
---|---|
Double |
getCollisionRatio(IObject coll)
Calculates the collision ratio in the collection |
Double |
getFillRatio(IObject coll)
Calculate the fill ration of a collection |
Integer |
getSize(IObject coll)
Extract the size of the collection |
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio |
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, hasCapacity |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.mat.inspections.collectionextract.ICollectionExtractor |
---|
extractEntries, extractEntryIds, getNumberOfNotNullElements, hasExtractableArray, hasExtractableContents |
Constructor Detail |
---|
public HashedMapCollectionExtractorBase(String sizeField, String arrayField, String keyField, String valueField)
Method Detail |
---|
public boolean hasSize()
ICollectionExtractor
public Integer getSize(IObject coll) throws SnapshotException
ICollectionExtractor
getSize
in interface ICollectionExtractor
getSize
in class MapCollectionExtractorBase
SnapshotException
public boolean hasFillRatio()
ICollectionExtractor
public Double getFillRatio(IObject coll) throws SnapshotException
ICollectionExtractor
SnapshotException
public boolean hasCollisionRatio()
IMapExtractor
public Double getCollisionRatio(IObject coll) throws SnapshotException
IMapExtractor
SnapshotException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |