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