Interface IntConsumer

All Known Subinterfaces:
IntStream.Builder
All Known Implementing Classes:
IntSummaryStatistics, LongSummaryStatistics
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

  • Method Summary

    Modifier and Type

    Method

    Description

    void

    accept(int value)

    Performs this operation on the given argument.

    Returns a composed IntConsumer that performs, in sequence, this operation followed by the after operation.

  • Method Details

    • accept

    • andThen