Class NullIfWithin

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_double.to_other.NullIfWithin
All Implemented Interfaces:
java.util.function.DoubleFunction<java.lang.Double>

public class NullIfWithin
extends java.lang.Object
implements java.util.function.DoubleFunction<java.lang.Double>
Yields a null if the input value is within the specified range, inclusive.
  • Constructor Summary

    Constructors 
    Constructor Description
    NullIfWithin​(double min, double max)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Double apply​(double value)  

    Methods inherited from class java.lang.Object

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

    • NullIfWithin

      public NullIfWithin​(double min, double max)
  • Method Details

    • apply

      public java.lang.Double apply​(double value)
      Specified by:
      apply in interface java.util.function.DoubleFunction<java.lang.Double>