Package herddb.utils
Class MinDeltaLongIncrementAccumulator
- java.lang.Object
-
- herddb.utils.MinDeltaLongIncrementAccumulator
-
- All Implemented Interfaces:
LongBinaryOperator
public final class MinDeltaLongIncrementAccumulator extends Object implements LongBinaryOperator
Apply new value only if a delta is reached- Author:
- enrico.olivelli
-
-
Constructor Summary
Constructors Constructor Description MinDeltaLongIncrementAccumulator(long delta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longapplyAsLong(long left, long right)
-
-
-
Method Detail
-
applyAsLong
public long applyAsLong(long left, long right)- Specified by:
applyAsLongin interfaceLongBinaryOperator
-
-