DoubleConsumer (Java SE 26 & JDK 26)
Interface DoubleConsumer
- All Known Subinterfaces:
DoubleStream.Builder
- All Known Implementing Classes:
DoubleSummaryStatistics
- 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
voidaccept(double value) Performs this operation on the given argument.
Returns a composed
DoubleConsumerthat performs, in sequence, this operation followed by theafteroperation.
-
Method Details
-
accept
-
andThen
-