Runnable@FunctionalInterface public interface Consumer0 extends Runnable
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept() |
Performs this operation on the given argument.
|
default void |
accept(Tuple0 args) |
Performs this operation on the given argument.
|
static Consumer0 |
from(Runnable runnable) |
Convert to this consumer from a
Runnable. |
default void |
run() |
|
default Runnable |
toRunnable() |
Convert this consumer to a
Runnable. |
default void accept(Tuple0 args)
args - The arguments as a tuple.void accept()
Copyright © 2018. All rights reserved.