@FunctionalInterface public interface TerminableConsumer
Terminables.| Modifier and Type | Method and Description |
|---|---|
<T extends Terminable> |
bind(T terminable)
Binds with the given terminable.
|
default <T extends Runnable> |
bindRunnable(T runnable)
Binds with the given runnable.
|
@Nonnull <T extends Terminable> T bind(@Nonnull T terminable)
T - the terminable typeterminable - the terminable to bind withCopyright © 2017. All rights reserved.