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 |
---|---|
public void | |
public default DoubleConsumer | Returns: a composedDoubleConsumer that performs in sequence this
operation followed by the after operationthe operation to perform after this operation after)Returns a composed |
accept | back to summary |
---|---|
public void accept(double value) Performs this operation on the given argument.
|
andThen | back to summary |
---|---|
public default DoubleConsumer andThen(DoubleConsumer after) Returns a composed
|