| Modifier and Type | Method and Description |
|---|---|
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 <K,V> Fun.ThrowingBiFunction<K,V,Nothing> |
Fun.throwingVoidToNothing2(@NotNull Fun.ThrowingBiConsumer<? super K,? super V> mayThrowOnAccept)
Parallel method to
Nothing.voidToNothing2(BiConsumer), for transforming a Fun.ThrowingBiConsumer to a
Fun.ThrowingBiFunction that returns Nothing. |
static <K,V> BiConsumer<K,V> |
Fun.tryOrVoid2(@NotNull Fun.ThrowingBiConsumer<? super K,? super V> mayThrowOnAccept)
Transform a
Fun.ThrowingBiConsumer to a BiConsumer of the same input types, that simply suppresses any
exceptions if thrown. |
static <K,V> BiConsumer<K,V> |
Fun.uncheckVoid2(@NotNull Fun.ThrowingBiConsumer<? super K,? super V> mayThrowOnAccept)
Transform a
Fun.ThrowingBiConsumer to a BiConsumer of the same input type parameter. |
Copyright © 2017–2020. All rights reserved.