| Modifier and Type | Field and Description |
|---|---|
static Nothing |
Nothing.instance
This is the singleton sentinel value.
|
| Modifier and Type | Method and Description |
|---|---|
Nothing |
Nothing.combine(@Nullable Nothing nothing) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Function<T,Result<Nothing>> |
Fun.resultNothing1(@NotNull Fun.ThrowingConsumer<? super T> mayThrowOnAccept)
Transform a
Fun.ThrowingConsumer to a Function over the same input type parameter, but which returns
a Result of success type Nothing. |
static <K,V> BiFunction<K,V,Result<Nothing>> |
Fun.resultNothing2(@NotNull Fun.ThrowingBiConsumer<? super K,? super V> mayThrowOnAccept)
Transform a
Fun.ThrowingBiConsumer to a BiFunction over the same input type parameters, but which returns
a Result of success type Nothing. |
static <T> Fun.ThrowingFunction<T,Nothing> |
Fun.throwingVoidToNothing1(@NotNull Fun.ThrowingConsumer<? super T> mayThrowOnAccept)
Parallel method to
voidToNothing1(Consumer), for transforming a Fun.ThrowingConsumer to a
Fun.ThrowingFunction that returns Nothing. |
static <K,V> Fun.ThrowingBiFunction<K,V,Nothing> |
Fun.throwingVoidToNothing2(@NotNull Fun.ThrowingBiConsumer<? super K,? super V> mayThrowOnAccept)
Parallel method to
voidToNothing2(BiConsumer), for transforming a Fun.ThrowingBiConsumer to a
Fun.ThrowingBiFunction that returns Nothing. |
static <T> Function<T,Nothing> |
Nothing.voidToNothing1(@NotNull Consumer<? super T> consumer) |
static <T,U> BiFunction<T,U,Nothing> |
Nothing.voidToNothing2(@NotNull BiConsumer<? super T,? super U> consumer) |
| Modifier and Type | Method and Description |
|---|---|
Nothing |
Nothing.combine(@Nullable Nothing nothing) |
Copyright © 2017–2020. All rights reserved.