Class ArrayListSubListCollectionExtractor
java.lang.Object
org.eclipse.mat.internal.collectionextract.FieldArrayCollectionExtractor
org.eclipse.mat.internal.collectionextract.FieldSizeArrayCollectionExtractor
org.eclipse.mat.internal.collectionextract.ArrayListSubListCollectionExtractor
- All Implemented Interfaces:
ICollectionExtractor
-
Constructor Summary
ConstructorsConstructorDescriptionArrayListSubListCollectionExtractor(String sizeField, String arrayField, String firstIndex) -
Method Summary
Modifier and TypeMethodDescriptionint[]extractEntryIds(IObject coll) Returns the object ids (int) for all objects which are contained in the collectiongetCapacity(IObject coll) Return the capacity of the collection, if applicableMethods inherited from class org.eclipse.mat.internal.collectionextract.FieldSizeArrayCollectionExtractor
getSize, hasSizeMethods inherited from class org.eclipse.mat.internal.collectionextract.FieldArrayCollectionExtractor
extractEntries, getFillRatio, getNumberOfNotNullElements, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio
-
Constructor Details
-
ArrayListSubListCollectionExtractor
-
-
Method Details
-
extractEntryIds
Description copied from interface:ICollectionExtractorReturns the object ids (int) for all objects which are contained in the collection- Specified by:
extractEntryIdsin interfaceICollectionExtractor- Overrides:
extractEntryIdsin classFieldArrayCollectionExtractor- Parameters:
coll- - the collection to find the objects it holds- Returns:
- an array of ints which are the object ids.
- Throws:
SnapshotException- if there is a problem retrieving data from the snapshot- See Also:
-
getCapacity
Description copied from interface:ICollectionExtractorReturn the capacity of the collection, if applicable- Specified by:
getCapacityin interfaceICollectionExtractor- Overrides:
getCapacityin classFieldArrayCollectionExtractor- Parameters:
coll- - the collection to find the capacity of- Returns:
- the capacity in bytes, or null if unavailable
- Throws:
SnapshotException- if there is a problem retrieving data from the snapshot- See Also:
-