java.io.Serializable
, java.util.function.Consumer<T>
, Procedure<T>
public class SumOfLongProcedure<T> extends java.lang.Object implements Procedure<T>
Procedure
that holds on to the summation of elements seen so far,
determined by the Function
.Constructor | Description |
---|---|
SumOfLongProcedure(LongFunction<? super T> function) |
Modifier and Type | Method | Description |
---|---|---|
long |
getResult() |
|
void |
value(T each) |
Copyright © 2004–2020. All rights reserved.