Diagnostic functions can be used to help you construct the right VirtData recipe.
Show
Show diagnostic values for the thread-local variable map.
-
long -> Show() -> String
- example:
Show()
- Show all values in a json-like format
- example:
-
long -> Show(String[]...: names) -> String
- example:
Show('foo')
- Show only the 'foo' value in a json-like format
- example:
Show('foo','bar')
- Show the 'foo' and 'bar' values in a json-like format
- example:
-
Object -> Show() -> String
- example:
Show()
- Show all values in a json-like format
- example:
-
Object -> Show(String[]...: names) -> String
- example:
Show('foo')
- Show only the 'foo' value in a json-like format
- example:
Show('foo','bar')
- Show the 'foo' and 'bar' values in a json-like format
- example:
Stringify
Object -> Stringify() -> String
ToLongFunction
Adapts any compatible {@link FunctionalInterface} type to a LongFunction, for use with higher-order functions, when they require a LongFunction as an argument. Some of the higher-order functions within this library specifically require a LongFunction as an argument, while some of the other functions are provided in semantically equivalent forms with compatible types which can't be converted directly or automatically by Java. In such cases, those types of functions can be wrapped with the forms described here in order to allow the inner and outer functions to work together.
-
long -> ToLongFunction(function.LongUnaryOperator: op) -> Object
-
long -> ToLongFunction(function.Function<Long,Long>: op) -> Object
-
long -> ToLongFunction(function.LongToIntFunction: op) -> Object
-
long -> ToLongFunction(function.LongToDoubleFunction: op) -> Object
-
long -> ToLongFunction(function.LongFunction<?>: func) -> Object
ToLongUnaryOperator
Adapts any compatible {@link FunctionalInterface} type to a LongUnaryOperator, for use with higher-order functions, when they require a LongUnaryOperator as an argument. Some of the higher-order functions within this library specifically require a LongUnaryOperator as an argument, while some of the other functions are provided in semantically equivalent forms with compatible types which can't be converted directly or automatically by Java. In such cases, those types of functions can be wrapped with the forms described here in order to allow the inner and outer functions to work together.
-
long -> ToLongUnaryOperator(function.LongFunction<Long>: f) -> long
-
long -> ToLongUnaryOperator(function.Function<Long,Long>: f) -> long
-
long -> ToLongUnaryOperator(function.LongUnaryOperator: f) -> long
TypeOf
Yields the class of the resulting type in String form.
Object -> TypeOf() -> String