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
ConstructorDescriptionArrayListSubListCollectionExtractor
(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, hasSize
Methods 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:ICollectionExtractor
Returns the object ids (int) for all objects which are contained in the collection- Specified by:
extractEntryIds
in interfaceICollectionExtractor
- Overrides:
extractEntryIds
in 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:ICollectionExtractor
Return the capacity of the collection, if applicable- Specified by:
getCapacity
in interfaceICollectionExtractor
- Overrides:
getCapacity
in 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:
-