@FunctionalInterface public interface DoubleConsumer
double
-valued argument and
returns no result. This is the primitive type specialization of
Consumer
for double
. Unlike most other functional interfaces,
DoubleConsumer
is expected to operate via side-effects.
This is a functional interface
whose functional method is accept(double)
.
Consumer
Modifier and Type | Method and Description |
---|---|
void |
accept(double value)
Performs this operation on the given argument.
|