Modifier and Type | Method and Description |
---|---|
default <V> CheckedFunction<T,V,E> |
CheckedFunction.andThen(CheckedFunction<? super R,? extends V,? extends E> after)
|
default <V> CheckedFunction<V,R,E> |
CheckedFunction.compose(CheckedFunction<? super V,? extends T,? extends E> before)
|
static <T,E extends Throwable> |
CheckedFunction.identity()
|
Modifier and Type | Method and Description |
---|---|
default <V> CheckedBiFunction<T,U,V,E> |
CheckedBiFunction.andThen(CheckedFunction<? super R,? extends V,? extends E> after)
|
default <V> CheckedFunction<T,V,E> |
CheckedFunction.andThen(CheckedFunction<? super R,? extends V,? extends E> after)
|
static <T,R> R |
Exceptional.apply(CheckedFunction<T,R,?> function,
T argument)
Invokes
apply(Object) catching any checked
Exception s rethrowing as unchecked. |
static <C extends AutoCloseable,T> |
Closing.closeAfterAccepting(CheckedFunction<T,C,?> create,
T t,
CheckedConsumer<C,?> consume)
Applies the
create function to t , resulting in a AutoCloseable which is closed after
being consumed. |
static <C extends AutoCloseable,T,U> |
Closing.closeAfterAccepting(CheckedFunction<T,C,?> create,
T t,
U instance,
CheckedBiConsumer<C,U,?> consume) |
static <C extends AutoCloseable,R> |
Closing.closeAfterApplying(C closeable,
CheckedFunction<C,R,?> convert)
Applies the function to the closeable, returning the result and closing the closable - checked exceptions are
rethrown as unchecked.
|
static <C extends AutoCloseable,T,R> |
Closing.closeAfterApplying(CheckedFunction<T,C,?> create,
T t,
CheckedFunction<C,R,?> convert)
|
static <T,U extends Comparable<? super U>,E extends Throwable> |
CheckedComparator.comparing(CheckedFunction<? super T,? extends U,? extends E> keyExtractor)
|
static <T,U,E extends Throwable> |
CheckedComparator.comparing(CheckedFunction<? super T,? extends U,? extends E> keyExtractor,
CheckedComparator<? super U,? extends E> keyComparator)
|
default <V> CheckedFunction<V,R,E> |
CheckedFunction.compose(CheckedFunction<? super V,? extends T,? extends E> before)
|
static <T,R> EmeticStream<R> |
EmeticStream.emesis(CheckedFunction<T,Stream<R>,?> function,
T value) |
default <R> EmeticStream<R> |
EmeticStream.flatMap(CheckedFunction<? super T,? extends Stream<? extends R>,?> mapper) |
default DoubleStream |
EmeticStream.flatMapToDouble(CheckedFunction<? super T,? extends DoubleStream,?> mapper) |
default IntStream |
EmeticStream.flatMapToInt(CheckedFunction<? super T,? extends IntStream,?> mapper) |
default LongStream |
EmeticStream.flatMapToLong(CheckedFunction<? super T,? extends LongStream,?> mapper) |
default <R> EmeticStream<R> |
EmeticStream.map(CheckedFunction<? super T,? extends R,?> mapper) |
default <U extends Comparable<? super U>> |
CheckedComparator.thenComparing(CheckedFunction<? super T,? extends U,E> keyExtractor)
|
default <U> CheckedComparator<T,E> |
CheckedComparator.thenComparing(CheckedFunction<? super T,? extends U,E> keyExtractor,
CheckedComparator<? super U,E> keyComparator)
|
static <T,R> Function<T,R> |
Exceptional.uncheckFunction(CheckedFunction<T,R,?> function)
Converts a
CheckedFunction into a Function . |
Copyright © 2016–2018 earcam. All rights reserved.