org.eclipse.mat.internal.collectionextract
Class LinkedListCollectionExtractor
java.lang.Object
org.eclipse.mat.internal.collectionextract.FieldSizedCollectionExtractor
org.eclipse.mat.internal.collectionextract.LinkedListCollectionExtractor
- All Implemented Interfaces:
- ICollectionExtractor
public class LinkedListCollectionExtractor
- extends FieldSizedCollectionExtractor
LinkedListCollectionExtractor
public LinkedListCollectionExtractor(String sizeField,
String leadField)
hasExtractableContents
public boolean hasExtractableContents()
- Description copied from interface:
ICollectionExtractor
- Check if the collection has extractable contents
- Specified by:
hasExtractableContents
in interface ICollectionExtractor
- Overrides:
hasExtractableContents
in class FieldSizedCollectionExtractor
- Returns:
extractEntryIds
public int[] extractEntryIds(IObject list)
throws SnapshotException
- Description copied from interface:
ICollectionExtractor
- Returns the object ids (int) for all objects which are contained in the
collection
- Specified by:
extractEntryIds
in interface ICollectionExtractor
- Overrides:
extractEntryIds
in class FieldSizedCollectionExtractor
- Returns:
-
- Throws:
SnapshotException