Class StringSet
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_collection.StringSet
- All Implemented Interfaces:
LongFunction<Set<String>>
Create a
Set<String> from a long
based on two functions, the first to
determine the set size, and the second to populate the set with
String values. The input fed to the second function is incremented
between elements. Regardless of the object type provided by the
second function, Object.toString() is used to get
the value to add to the list.
To create Sets of any type of object simply use Set with
a specific value mapping function.-
Constructor Summary
ConstructorsConstructorDescriptionStringSet(LongFunction<?> sizeFunc, LongFunction<Object> valueFunc) StringSet(LongFunction<?> sizeFunc, LongToIntFunction valueFunc) StringSet(LongFunction<?> sizeFunc, LongUnaryOperator valueFunc) StringSet(LongToIntFunction sizeFunc, LongFunction<Object> valueFunc) StringSet(LongToIntFunction sizeFunc, LongToIntFunction valueFunc) StringSet(LongToIntFunction sizeFunc, LongUnaryOperator valueFunc) StringSet(LongUnaryOperator sizeFunc, LongFunction<Object> valueFunc) StringSet(LongUnaryOperator sizeFunc, LongToIntFunction valueFunc) StringSet(LongUnaryOperator sizeFunc, LongUnaryOperator valueFunc) -
Method Summary
-
Constructor Details
-
StringSet
-
StringSet
-
StringSet
-
StringSet
-
StringSet
-
StringSet
-
StringSet
-
StringSet
-
StringSet
-
-
Method Details
-
apply
-