| Package | Description |
|---|---|
| com.pivovarit.function |
The
com.pivovarit.function package contains checked equivalents of the java.util.function package |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ThrowingUnaryOperator<T,E extends Exception>
Represents an operation on a single operand that produces a result of the
same type as its operand.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> ThrowingFunction<T,V,E> |
ThrowingFunction.andThen(ThrowingFunction<? super R,? extends V,? extends E> after) |
default ThrowingFunction<T,Void,E> |
ThrowingConsumer.asFunction() |
default ThrowingFunction<Void,T,E> |
ThrowingSupplier.asFunction() |
default ThrowingFunction<T,Boolean,E> |
ThrowingPredicate.asFunction() |
default <V> ThrowingFunction<V,R,E> |
ThrowingFunction.compose(ThrowingFunction<? super V,? extends T,? extends E> before) |
| Modifier and Type | Method and Description |
|---|---|
default <V> ThrowingFunction<T,V,E> |
ThrowingFunction.andThen(ThrowingFunction<? super R,? extends V,? extends E> after) |
default <V> ThrowingBiFunction<T1,T2,V,E> |
ThrowingBiFunction.andThen(ThrowingFunction<? super R,? extends V,? extends E> after)
Performs provided action on the result of this ThrowingBiFunction instance
|
default <V> ThrowingFunction<V,R,E> |
ThrowingFunction.compose(ThrowingFunction<? super V,? extends T,? extends E> before) |
static <T,R> Function<T,Optional<R>> |
ThrowingFunction.lifted(ThrowingFunction<T,R,?> f) |
static <T1,R> Function<T1,R> |
ThrowingFunction.sneaky(ThrowingFunction<? super T1,? extends R,?> function) |
static <T,R> Function<T,R> |
ThrowingFunction.unchecked(ThrowingFunction<T,R,?> f) |
Copyright © 2020. All rights reserved.