public interface IMapExtractor extends ICollectionExtractor
Modifier and Type | Interface and Description |
---|---|
static class |
IMapExtractor.EntryObject |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio
|
extractEntries, extractEntryIds, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize
boolean hasCollisionRatio()
Double getCollisionRatio(IObject collection) throws SnapshotException
collection
- SnapshotException
Iterator<Map.Entry<IObject,IObject>> extractMapEntries(IObject collection) throws SnapshotException
collection
- - the map to extract contents fromSnapshotException