mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
640 B
640 B
CATEGORY functional
IntFlow
Combine multiple IntUnaryOperators into a single function.
- int -> IntFlow(java.util.function.IntUnaryOperator[]...: ops) -> int
LongFlow
Combine multiple LongUnaryOperators into a single function.
- long -> LongFlow(java.util.function.LongUnaryOperator[]...: ops) -> long
- ex:
StringFlow(Add(3),Mul(6))- Create an integer operator which adds 3 and multiplies the result by 6
- ex:
StringFlow
Combine multiple String functions together into one function.
- java.lang.String -> StringFlow(java.util.function.Function<java.lang.String,java.lang.String>[]...: funcs) -> java.lang.String