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.String apply​(java.lang.Object o)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

  • Method Details

    • apply

      public java.lang.String apply​(java.lang.Object o)
      Specified by:
      apply in interface java.util.function.Function<java.lang.Object,​java.lang.String>