Class MapStepped
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_collection.MapStepped
- All Implemented Interfaces:
LongFunction<Map<Object,Object>>
Create a Map from a long input based on a set of provided key and value functions.
Any duplicate entries produced by the key functions are elided.
As a 'Pair-wise' function, the size of the resulting collection is determined directly by the
number of provided element functions. Since this is a map, the functions come in pairs, each
even numbered function is a key function and each odd numbered function is the corresponding value function.
As a 'Stepped' function, the input value is incremented before being used by each key or value function.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapStepped
-
-
Method Details
-
apply
-