Interface FloatConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface to apply an operation to a single
float.-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(float value) Apply this operation tovalue.default FloatConsumerandThen(@NotNull FloatConsumer after) Return a composed FloatConsumer that appliesthisoperation followed byafter.
-
Method Details
-
accept
void accept(float value) Apply this operation tovalue.- Parameters:
value- Thefloatto operate one
-
andThen
Return a composed FloatConsumer that appliesthisoperation followed byafter.- Parameters:
after- The FloatConsumer to apply after applyingthis- Returns:
- A composed FloatConsumer that applies
thisfollowed byafter
-