Class UnsetIfLt
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_unset.UnsetIfLt
- All Implemented Interfaces:
java.util.function.LongFunction<java.lang.Object>
public class UnsetIfLt
extends java.lang.Object
implements java.util.function.LongFunction<java.lang.Object>
Yield VALUE.unset if the provided value is less than the specified value,
otherwise, pass the original value;
-
Constructor Summary
Constructors Constructor Description UnsetIfLt(long compareto) -
Method Summary
Modifier and Type Method Description java.lang.Objectapply(long value)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UnsetIfLt
public UnsetIfLt(long compareto)
-
-
Method Details
-
apply
public java.lang.Object apply(long value)- Specified by:
applyin interfacejava.util.function.LongFunction<java.lang.Object>
-