Class ToString
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.unary_string.ToString
- All Implemented Interfaces:
java.util.function.Function<java.lang.Object,java.lang.String>
public class ToString
extends java.lang.Object
implements java.util.function.Function<java.lang.Object,java.lang.String>
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.
-
Constructor Summary
Constructors Constructor Description ToString() -
Method Summary
Modifier and Type Method Description java.lang.Stringapply(java.lang.Object o)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.Function
andThen, compose
-
Constructor Details
-
ToString
public ToString()
-
-
Method Details
-
apply
public java.lang.String apply(java.lang.Object o)- Specified by:
applyin interfacejava.util.function.Function<java.lang.Object,java.lang.String>
-