Class TreeSetArrayCollectionExtractor
- java.lang.Object
-
- org.eclipse.mat.internal.collectionextract.HashSetCollectionExtractor
-
- org.eclipse.mat.internal.collectionextract.TreeSetCollectionExtractor
-
- org.eclipse.mat.internal.collectionextract.TreeSetArrayCollectionExtractor
-
- All Implemented Interfaces:
ICollectionExtractor
,IMapExtractor
public class TreeSetArrayCollectionExtractor extends TreeSetCollectionExtractor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.mat.inspections.collectionextract.IMapExtractor
IMapExtractor.EntryObject
-
-
Constructor Summary
Constructors Constructor Description TreeSetArrayCollectionExtractor(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.HashSetCollectionExtractor
extractEntries, extractEntryIds, getCapacity, getCollisionRatio, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasCollisionRatio, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize
-
-
-
-
Method Detail
-
extractMapEntries
public java.util.Iterator<java.util.Map.Entry<IObject,IObject>> extractMapEntries(IObject coll) throws SnapshotException
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 classHashSetCollectionExtractor
- 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
- Throws:
SnapshotException
-
-