Class Map
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_collection.Map
- All Implemented Interfaces:
LongFunction<Map<Object,Object>>
Create a
Map from a long input based on three functions,
the first to determine the map size, and the second to populate
the map with key objects, and the third to populate the map with
value objects. The long input fed to the second and third functions
is incremented between entries.
To directly create Maps with key and value Strings using the same
mapping functions, simply use StringMap instead.-
Constructor Summary
ConstructorsConstructorDescriptionMap(LongFunction<Object>... objfuncs) Map(LongToIntFunction sizeFunc, LongFunction<Object> keyFunc, LongFunction<Object> valueFunc) -
Method Summary
-
Constructor Details
-
Map
public Map(LongToIntFunction sizeFunc, LongFunction<Object> keyFunc, LongFunction<Object> valueFunc) -
Map
-
-
Method Details
-
apply
-