public class LinkedListCollectionExtractor extends FieldSizedCollectionExtractor
Constructor and Description |
---|
LinkedListCollectionExtractor(String sizeField,
String leadField) |
Modifier and Type | Method and Description |
---|---|
int[] |
extractEntryIds(IObject list)
Returns the object ids (int) for all objects which are contained in the
collection
|
Integer |
getSize(IObject coll)
Extract the size of the collection
|
boolean |
hasExtractableContents()
Check if the collection has extractable contents
|
boolean |
hasSize()
Check if the size of the collection can be extracted
|
extractEntries, getCapacity, getFillRatio, getNumberOfNotNullElements, hasCapacity, hasExtractableArray, hasFillRatio
public boolean hasExtractableContents()
ICollectionExtractor
hasExtractableContents
in interface ICollectionExtractor
hasExtractableContents
in class FieldSizedCollectionExtractor
public int[] extractEntryIds(IObject list) throws SnapshotException
ICollectionExtractor
extractEntryIds
in interface ICollectionExtractor
extractEntryIds
in class FieldSizedCollectionExtractor
SnapshotException
public boolean hasSize()
ICollectionExtractor
hasSize
in interface ICollectionExtractor
hasSize
in class FieldSizedCollectionExtractor
public Integer getSize(IObject coll) throws SnapshotException
ICollectionExtractor
getSize
in interface ICollectionExtractor
getSize
in class FieldSizedCollectionExtractor
SnapshotException