Package zombie.util.list
Interface FloatConsumer
public interface FloatConsumer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(float t) Performs this operation on the given argument.default FloatConsumer
andThen
(FloatConsumer after) Returns a composedConsumer
that performs, in sequence, this operation followed by theafter
operation.
-
Method Details
-
accept
void accept(float t) Performs this operation on the given argument.- Parameters:
t
- the input argument
-
andThen
Returns a composedConsumer
that performs, in sequence, this operation followed by theafter
operation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, theafter
operation will not be performed.- Parameters:
after
- the operation to perform after this operation- Returns:
- a composed
Consumer
that performs in sequence this operation followed by theafter
operation - Throws:
NullPointerException
- ifafter
is null
-