Interface DoubleConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A primitive specialization of
Consumer for double.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDeprecated.voidacceptDouble(double value) Performs this operation on the given argument.Deprecated.default DoubleConsumerandThenDouble(DoubleConsumer after)
-
Method Details
-
acceptDouble
void acceptDouble(double value) Performs this operation on the given argument.- Parameters:
value- the input argument
-
accept
Deprecated. -
andThenDouble
- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
DoubleConsumerthat performs in sequence this operation followed by theafteroperation
-
andThen
Deprecated.
-