Class SumOfIntProcedure<T>
java.lang.Object
org.eclipse.collections.impl.block.procedure.SumOfIntProcedure<T>
- All Implemented Interfaces:
Serializable,Consumer<T>,Procedure<T>
Implementation of
Procedure that holds on to the summation of elements seen so far,
determined by the Function.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntFunction<? super T>private intprivate static final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
function
-
result
private int result
-
-
Constructor Details
-
SumOfIntProcedure
-
-
Method Details