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 TypeMethodDescriptionvoid
accept
(float value) Apply this operation tovalue
.default FloatConsumer
andThen
(@NotNull FloatConsumer after) Return a composed FloatConsumer that appliesthis
operation followed byafter
.
-
Method Details
-
accept
void accept(float value) Apply this operation tovalue
.- Parameters:
value
- Thefloat
to operate one
-
andThen
Return a composed FloatConsumer that appliesthis
operation followed byafter
.- Parameters:
after
- The FloatConsumer to apply after applyingthis
- Returns:
- A composed FloatConsumer that applies
this
followed byafter
-