Class TreeMapArrayCollectionExtractor
- java.lang.Object
-
- org.eclipse.mat.internal.collectionextract.MapCollectionExtractorBase
-
- org.eclipse.mat.internal.collectionextract.TreeMapCollectionExtractor
-
- org.eclipse.mat.internal.collectionextract.TreeMapArrayCollectionExtractor
-
- All Implemented Interfaces:
ICollectionExtractor
,IMapExtractor
public class TreeMapArrayCollectionExtractor extends TreeMapCollectionExtractor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.mat.inspections.collectionextract.IMapExtractor
IMapExtractor.EntryObject
-
-
Constructor Summary
Constructors Constructor Description TreeMapArrayCollectionExtractor(java.lang.String sizeField, java.lang.String keyField, java.lang.String valueField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.util.Map.Entry<IObject,IObject>>
extractMapEntries(IObject coll)
Extracts the contents of a map (i.e.-
Methods inherited from class org.eclipse.mat.internal.collectionextract.TreeMapCollectionExtractor
extractEntries, extractEntryIds, getCollisionRatio, getFillRatio, getNumberOfNotNullElements, getSize, hasCollisionRatio, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize
-
Methods inherited from class org.eclipse.mat.internal.collectionextract.MapCollectionExtractorBase
getCapacity, hasCapacity
-
-
-
-
Method Detail
-
extractMapEntries
public java.util.Iterator<java.util.Map.Entry<IObject,IObject>> extractMapEntries(IObject coll)
Description copied from interface:IMapExtractor
Extracts the contents of a map (i.e. an IObject representing a Map) and provides an Iterator over them- Specified by:
extractMapEntries
in interfaceIMapExtractor
- Overrides:
extractMapEntries
in classMapCollectionExtractorBase
- Parameters:
coll
- - the map to extract contents from- Returns:
- an Iterator over the entries. If the original Map had an Entry object, the content of the iterator would usually be EntryObject
-
-