public final class Nothing extends Object
| Modifier and Type | Field and Description |
|---|---|
static Nothing |
instance
This is the singleton sentinel value.
|
| Modifier and Type | Method and Description |
|---|---|
Nothing |
combine(@Nullable Nothing nothing) |
static <T> Function<T,Nothing> |
voidToNothing1(@NotNull Consumer<? super T> consumer) |
static <T,U> BiFunction<T,U,Nothing> |
voidToNothing2(@NotNull BiConsumer<? super T,? super U> consumer) |
public static final Nothing instance
public static <T> Function<T,Nothing> voidToNothing1(@NotNull @NotNull Consumer<? super T> consumer)
public static <T,U> BiFunction<T,U,Nothing> voidToNothing2(@NotNull @NotNull BiConsumer<? super T,? super U> consumer)
Copyright © 2017–2020. All rights reserved.