Class IntegerMaxAccumulateFunction
java.lang.Object
org.drools.core.base.accumulators.AbstractAccumulateFunction<IntegerMaxAccumulateFunction.MaxData>
org.drools.core.base.accumulators.IntegerMaxAccumulateFunction
- All Implemented Interfaces:
Externalizable,Serializable,AccumulateFunction<IntegerMaxAccumulateFunction.MaxData>
public class IntegerMaxAccumulateFunction
extends AbstractAccumulateFunction<IntegerMaxAccumulateFunction.MaxData>
An implementation of an accumulator capable of calculating maximum values
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(IntegerMaxAccumulateFunction.MaxData data, Object value) Class<?>voidvoidvoidreverse(IntegerMaxAccumulateFunction.MaxData data, Object value) booleanbooleantryReverse(IntegerMaxAccumulateFunction.MaxData data, Object value) voidMethods inherited from class org.drools.core.base.accumulators.AbstractAccumulateFunction
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.runtime.rule.AccumulateFunction
accumulateValue, initContext
-
Constructor Details
-
IntegerMaxAccumulateFunction
public IntegerMaxAccumulateFunction()
-
-
Method Details
-
readExternal
- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Throws:
IOException
-
createContext
-
init
-
accumulate
-
reverse
-
tryReverse
-
getResult
-
supportsReverse
public boolean supportsReverse() -
getResultType
-