org.eclipse.mat.internal.collectionextract
Class LinkedListCollectionExtractor

java.lang.Object
  extended by org.eclipse.mat.internal.collectionextract.FieldSizedCollectionExtractor
      extended by org.eclipse.mat.internal.collectionextract.LinkedListCollectionExtractor
All Implemented Interfaces:
ICollectionExtractor

public class LinkedListCollectionExtractor
extends FieldSizedCollectionExtractor


Constructor Summary
LinkedListCollectionExtractor(String sizeField, String leadField)
           
 
Method Summary
 int[] extractEntryIds(IObject list)
          Returns the object ids (int) for all objects which are contained in the collection
 boolean hasExtractableContents()
          Check if the collection has extractable contents
 
Methods inherited from class org.eclipse.mat.internal.collectionextract.FieldSizedCollectionExtractor
extractEntries, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasFillRatio, hasSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedListCollectionExtractor

public LinkedListCollectionExtractor(String sizeField,
                                     String leadField)
Method Detail

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