java.lang.Runnable
@FunctionalInterface
public interface Consumer0
extends java.lang.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(java.lang.Runnable runnable) |
Convert to this consumer from a
Runnable . |
default void |
run() |
|
default java.lang.Runnable |
toRunnable() |
Convert this consumer to a
Runnable . |
default void accept(Tuple0 args)
args
- The arguments as a tuple.void accept()
default void run()
run
in interface java.lang.Runnable
default java.lang.Runnable toRunnable()
Runnable
.static Consumer0 from(java.lang.Runnable runnable)
Runnable
.Copyright © 2018. All rights reserved.