java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_other.NullIfEq
- All Implemented Interfaces:
java.util.function.LongFunction<java.lang.Long>
public class NullIfEq
extends java.lang.Object
implements java.util.function.LongFunction<java.lang.Long>
Yeilds a null if the input value is equal to the specified value.
-
Constructor Summary
Constructors
| Constructor |
Description |
NullIfEq(long compareto) |
|
-
Method Summary
| Modifier and Type |
Method |
Description |
java.lang.Long |
apply(long value) |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
public NullIfEq(long compareto)
-
Method Details
-
public java.lang.Long apply(long value)
- Specified by:
apply in interface java.util.function.LongFunction<java.lang.Long>