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.Doubleapply(double value)
-
Constructor Details
-
NullIfWithin
public NullIfWithin(double min, double max)
-
-
Method Details
-
apply
public java.lang.Double apply(double value)- Specified by:
applyin interfacejava.util.function.DoubleFunction<java.lang.Double>
-