io.nosqlbench.virtdata.library.basics.shared.unary_string.ToString Maven / Gradle / Ivy
package io.nosqlbench.virtdata.library.basics.shared.unary_string;
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
import java.util.function.Function;
/**
* Converts the input to the most obvious string representation with String.valueOf(...).
* Forms which accept a function will evaluate that function first and then apply
* String.valueOf() to the result.
*/
@ThreadSafeMapper
public class ToString implements Function