Modifier and Type | Method and Description |
---|---|
default <V> CheckedFunction<T,V> |
CheckedFunction.andThen(CheckedFunction<? super R,? extends V> after)
|
default <V> CheckedFunction<V,R> |
CheckedFunction.compose(CheckedFunction<? super V,? extends T> before)
|
static <T> CheckedFunction<T,T> |
CheckedFunction.identity()
|
Modifier and Type | Method and Description |
---|---|
default <V> CheckedBiFunction<T,U,V> |
CheckedBiFunction.andThen(CheckedFunction<? super R,? extends V> after)
|
default <V> CheckedFunction<T,V> |
CheckedFunction.andThen(CheckedFunction<? super R,? extends V> 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> |
Exceptional.closeAfterAccepting(CheckedFunction<T,C> create,
T t,
CheckedConsumer<C> consume)
Deprecated.
functionality moved to
Closing.closeAfterAccepting(CheckedFunction, Object, CheckedConsumer) |
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> |
Exceptional.closeAfterApplying(C closeable,
CheckedFunction<C,R> convert)
Deprecated.
functionality moved to
Closing.closeAfterApplying(AutoCloseable, CheckedFunction) |
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> |
Exceptional.closeAfterApplying(CheckedFunction<T,C> create,
T t,
CheckedFunction<C,R> convert)
Deprecated.
functionality moved to
Closing |
static <C extends AutoCloseable,T,R> |
Exceptional.closeAfterApplying(CheckedFunction<T,C> create,
T t,
CheckedFunction<C,R> convert)
Deprecated.
functionality moved to
Closing |
static <C extends AutoCloseable,T,R> |
Closing.closeAfterApplying(CheckedFunction<T,C> create,
T t,
CheckedFunction<C,R> convert)
|
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>> |
CheckedComparator.comparing(CheckedFunction<? super T,? extends U> keyExtractor)
|
static <T,U> CheckedComparator<T> |
CheckedComparator.comparing(CheckedFunction<? super T,? extends U> keyExtractor,
CheckedComparator<? super U> keyComparator)
|
default <V> CheckedFunction<V,R> |
CheckedFunction.compose(CheckedFunction<? super V,? extends T> 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> keyExtractor)
|
default <U> CheckedComparator<T> |
CheckedComparator.thenComparing(CheckedFunction<? super T,? extends U> keyExtractor,
CheckedComparator<? super U> 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.