functionalj.stream.IntAccumulator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functionalj-core Show documentation
Show all versions of functionalj-core Show documentation
The module for FunctionalJ Core.
package functionalj.stream;
import java.util.function.BiConsumer;
@FunctionalInterface
public interface IntAccumulator extends BiConsumer {
void acceptInt(ACCUMULATED accumulator, int element);
default void accept(ACCUMULATED accumulator, Integer element) {
acceptInt(accumulator, element.intValue());
}
}