|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMapExtractor
MapExtractors are used to extract from the heap dump the contents of an object which represents a map of a certain type. It knows the internal details of how the map contents are stored and if the collection has certain properties or not
| Nested Class Summary | |
|---|---|
static class |
IMapExtractor.EntryObject
|
| Method Summary | |
|---|---|
Iterator<Map.Entry<IObject,IObject>> |
extractMapEntries(IObject collection)
Extracts the contents of a map (i.e. |
Double |
getCollisionRatio(IObject collection)
Calculates the collision ratio in the collection |
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio |
| Methods inherited from interface org.eclipse.mat.inspections.collectionextract.ICollectionExtractor |
|---|
extractEntries, extractEntryIds, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize |
| Method Detail |
|---|
boolean hasCollisionRatio()
Double getCollisionRatio(IObject collection)
throws SnapshotException
collection -
SnapshotException
Iterator<Map.Entry<IObject,IObject>> extractMapEntries(IObject collection)
throws SnapshotException
collection - - the map to extract contents from
SnapshotException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||