Class NumberNameToString

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_string.NumberNameToString
All Implemented Interfaces:
java.util.function.LongFunction<java.lang.String>

public class NumberNameToString
extends java.lang.Object
implements java.util.function.LongFunction<java.lang.String>
Provides the spelled-out name of a number. For example, an input of 7 would yield "seven". An input of 4234 yields the value "four thousand thirty four". The maximum value is limited at 999,999,999.
  • Constructor Summary

    Constructors 
    Constructor Description
    NumberNameToString()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String apply​(long input)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • apply

      public java.lang.String apply​(long input)
      Specified by:
      apply in interface java.util.function.LongFunction<java.lang.String>