com.koloboke.function
Interface IntConsumer
public interface IntConsumer
Represents an operation that accepts a single int
-valued argument and
returns no result. This is the primitive type specialization of
Consumer
for int
. Unlike most other functional interfaces,
IntConsumer
is expected to operate via side-effects.
- See Also:
Consumer
Method Summary |
void |
accept(int value)
Performs this operation on the given argument. |
accept
void accept(int value)
- Performs this operation on the given argument.
- Parameters:
value
- the input argument