public class Silenced
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Silenced.BiConsumer<T,U> |
static interface |
Silenced.Consumer<T> |
static interface |
Silenced.Exec |
static interface |
Silenced.Function<T,U> |
static interface |
Silenced.Supplier<T> |
| Constructor and Description |
|---|
Silenced() |
| Modifier and Type | Method and Description |
|---|---|
static <T,U> boolean |
accept(Silenced.BiConsumer<T,U> biconsumer,
T t,
U u) |
static <T> boolean |
accept(Silenced.Consumer<T> consumer,
T t) |
static <T,U> T |
apply(Silenced.Function<T,U> function,
U u) |
static boolean |
exec(Silenced.Exec exec) |
static <T> T |
get(Silenced.Supplier<T> supplier) |
public static <T> T get(Silenced.Supplier<T> supplier)
public static boolean exec(Silenced.Exec exec)
public static <T> boolean accept(Silenced.Consumer<T> consumer, T t)
public static <T,U> boolean accept(Silenced.BiConsumer<T,U> biconsumer, T t, U u)
public static <T,U> T apply(Silenced.Function<T,U> function, U u)