Class IBM6ArrayListCollectionExtractor
java.lang.Object
org.eclipse.mat.internal.collectionextract.FieldArrayCollectionExtractor
org.eclipse.mat.internal.collectionextract.IBM6ArrayListCollectionExtractor
- All Implemented Interfaces:
ICollectionExtractor
-
Constructor Summary
ConstructorDescriptionIBM6ArrayListCollectionExtractor
(String firstIndex, String lastIndex, String arrayField) IBM6ArrayListCollectionExtractor
(String firstIndex, String lastIndex, String arrayField, String sizeField) -
Method Summary
Methods inherited from class org.eclipse.mat.internal.collectionextract.FieldArrayCollectionExtractor
extractEntries, getCapacity, getFillRatio, getNumberOfNotNullElements, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio
-
Constructor Details
-
IBM6ArrayListCollectionExtractor
-
IBM6ArrayListCollectionExtractor
-
-
Method Details
-
hasSize
public boolean hasSize()Description copied from interface:ICollectionExtractor
Check if the size of the collection can be extracted.- Specified by:
hasSize
in interfaceICollectionExtractor
- Overrides:
hasSize
in classFieldArrayCollectionExtractor
- Returns:
- true if
ICollectionExtractor.getSize(IObject)
could be called - See Also:
-
getSize
Description copied from interface:ICollectionExtractor
Extract the size of the collection.- Specified by:
getSize
in interfaceICollectionExtractor
- Overrides:
getSize
in classFieldArrayCollectionExtractor
- Parameters:
coll
- - the collection to find the size of- Returns:
- the size, or null if not available
- Throws:
SnapshotException
- if there is a problem retrieving data from the snapshot- See Also:
-
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:
-