Class MinAccumulateFunction
java.lang.Object
org.drools.core.base.accumulators.AbstractAccumulateFunction<MinAccumulateFunction.MinData>
org.drools.core.base.accumulators.MinAccumulateFunction
- All Implemented Interfaces:
Externalizable,Serializable,AccumulateFunction<MinAccumulateFunction.MinData>
public class MinAccumulateFunction
extends AbstractAccumulateFunction<MinAccumulateFunction.MinData>
An implementation of an accumulator capable of calculating minimun values
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(MinAccumulateFunction.MinData data, Object value) Class<?>voidvoidvoidreverse(MinAccumulateFunction.MinData data, Object value) booleanbooleantryReverse(MinAccumulateFunction.MinData 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
-
MinAccumulateFunction
public MinAccumulateFunction()
-
-
Method Details
-
readExternal
- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Throws:
IOException
-
createContext
-
init
-
accumulate
-
tryReverse
-
reverse
-
getResult
-
supportsReverse
public boolean supportsReverse() -
getResultType
-