Package herddb.utils
Class EnsureIntegerIncrementAccumulator
- java.lang.Object
-
- herddb.utils.EnsureIntegerIncrementAccumulator
-
- All Implemented Interfaces:
IntBinaryOperator
public final class EnsureIntegerIncrementAccumulator extends Object implements IntBinaryOperator
Ensure increment- Author:
- enrico.olivelli
-
-
Field Summary
Fields Modifier and Type Field Description static EnsureIntegerIncrementAccumulatorINSTANCE
-
Constructor Summary
Constructors Constructor Description EnsureIntegerIncrementAccumulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intapplyAsInt(int left, int right)
-
-
-
Field Detail
-
INSTANCE
public static final EnsureIntegerIncrementAccumulator INSTANCE
-
-
Method Detail
-
applyAsInt
public int applyAsInt(int left, int right)- Specified by:
applyAsIntin interfaceIntBinaryOperator
-
-