flow functions

These functions help combine other functions into higher-order functions when needed.

Expr🔗

Allow for the use of arbitrary expressions according to the MVEL expression language. Variables that have been set by a Save function are available to be used in this function. The variable name cycle is reserved, and is always equal to the current input value. This is not the same in every case as the current cycle of an operation. It could be different if there are preceding functions which modify the input value.

  • long -> Expr(String: expr) -> int

  • long -> Expr(String: expr) -> long

  • long -> Expr(String: expr) -> String

  • long -> Expr(String: expr) -> UUID

  • int -> Expr(String: expr) -> int

  • double -> Expr(String: expr) -> double

IntFlow🔗

Combine multiple IntUnaryOperators into a single function.

  • int -> IntFlow(function.IntUnaryOperator[]...: ops) -> int

LongFlow🔗

Combine multiple LongUnaryOperators into a single function.

  • long -> LongFlow(function.LongUnaryOperator[]...: ops) -> long
    • example: LongFlow(Add(3),Mul(6))
    • Create an integer operator which adds 3 and multiplies the result by 6

StringFlow🔗

Combine multiple String functions together into one function.

  • String -> StringFlow(function.Function<String,String>[]...: funcs) -> String