Class ToInt

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_double.ToInt
All Implemented Interfaces:
java.util.function.DoubleToIntFunction

public class ToInt
extends java.lang.Object
implements java.util.function.DoubleToIntFunction
  • Constructor Summary

    Constructors 
    Constructor Description
    ToInt()  
    ToInt​(int scale)  
  • Method Summary

    Modifier and Type Method Description
    int applyAsInt​(double input)  

    Methods inherited from class java.lang.Object

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

    • ToInt

      public ToInt​(int scale)
    • ToInt

      public ToInt()
  • Method Details

    • applyAsInt

      public int applyAsInt​(double input)
      Specified by:
      applyAsInt in interface java.util.function.DoubleToIntFunction