public class RegularEnumSetExtractor extends FieldSizeArrayCollectionExtractor implements IMapExtractor
IMapExtractor.EntryObject| Constructor and Description |
|---|
RegularEnumSetExtractor(String sizeField,
String arrayField)
For java.util.RegularEnumSet
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
extractEntryIds(IObject coll)
Returns the object ids (int) for all objects which are contained in the
collection
|
Iterator<Map.Entry<IObject,IObject>> |
extractMapEntries(IObject collection)
Extracts the contents of a map (i.e.
|
Double |
getCollisionRatio(IObject collection)
Calculates the collision ratio in the collection
|
Integer |
getSize(IObject coll)
Extract the size of the collection
|
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio
|
hasSizeextractEntries, getCapacity, getFillRatio, getNumberOfNotNullElements, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatioequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractEntries, getCapacity, getFillRatio, getNumberOfNotNullElements, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSizepublic Integer getSize(IObject coll) throws SnapshotException
ICollectionExtractorgetSize in interface ICollectionExtractorgetSize in class FieldSizeArrayCollectionExtractorSnapshotExceptionpublic int[] extractEntryIds(IObject coll) throws SnapshotException
ICollectionExtractorextractEntryIds in interface ICollectionExtractorextractEntryIds in class FieldArrayCollectionExtractorSnapshotExceptionpublic boolean hasCollisionRatio()
IMapExtractorhasCollisionRatio in interface IMapExtractorpublic Double getCollisionRatio(IObject collection) throws SnapshotException
IMapExtractorgetCollisionRatio in interface IMapExtractorSnapshotExceptionpublic Iterator<Map.Entry<IObject,IObject>> extractMapEntries(IObject collection) throws SnapshotException
IMapExtractorextractMapEntries in interface IMapExtractorcollection - - the map to extract contents fromSnapshotException