public class WrapperMapExtractor extends WrapperCollectionExtractor implements IMapExtractor
IMapExtractor.EntryObject
Constructor and Description |
---|
WrapperMapExtractor(String field) |
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<IObject,IObject>> |
extractMapEntries(IObject coll)
Extracts the contents of a map (i.e.
|
Double |
getCollisionRatio(IObject coll)
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractEntries, extractEntryIds, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize
public WrapperMapExtractor(String field)
public boolean hasCollisionRatio()
IMapExtractor
hasCollisionRatio
in interface IMapExtractor
public Double getCollisionRatio(IObject coll) throws SnapshotException
IMapExtractor
getCollisionRatio
in interface IMapExtractor
SnapshotException
public Iterator<Map.Entry<IObject,IObject>> extractMapEntries(IObject coll)
IMapExtractor
extractMapEntries
in interface IMapExtractor
coll
- - the map to extract contents from