Class SaveString
- java.lang.Object
-
- io.virtdata.basicsmappers.stateful.from_long.SaveString
-
- All Implemented Interfaces:
java.util.function.LongFunction<java.lang.String>
public class SaveString extends java.lang.Object implements java.util.function.LongFunction<java.lang.String>Save a value to a named thread-local variable, where the variable name is fixed or a generated variable name from a provided function. Note that the input type is not that suitable for constructing names, so this is more likely to be used in an indirect naming pattern likeSaveDouble(Load('id'))
-
-
Constructor Summary
Constructors Constructor Description SaveString(java.lang.String name)SaveString(java.util.function.LongFunction<java.lang.Object> nameFunc)
-
Method Summary
Modifier and Type Method Description java.lang.Stringapply(long value)
-