io.virtdata.libbasics.shared.unary_string.ToString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package io.virtdata.libbasics.shared.unary_string;
import io.virtdata.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