| Package | Description |
|---|---|
| org.n52.janmayen.exception | |
| org.n52.janmayen.function |
| Modifier and Type | Method and Description |
|---|---|
<T,R,X extends Exception> |
CompositeException.apply(ThrowingFunction<T,R,X> function,
T t) |
<T,R,X extends Exception> |
CompositeException.wrapFunction(ThrowingFunction<T,R,X> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ThrowingUnaryOperator<T,X 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,X> |
ThrowingFunction.andThen(ThrowingFunction<? super R,? extends V,? extends X> after)
Returns a composed function that first applies this function to its input, and then applies the
after
function to the result. |
default <V> ThrowingFunction<V,R,X> |
ThrowingFunction.compose(ThrowingFunction<? super V,? extends T,? extends X> before)
Returns a composed function that first applies the
before function to its input, and then applies this
function to the result. |
default ThrowingFunction<U,R,X> |
ThrowingBiFunction.curryFirst(T t)
Get a
ThrowingFunction by currying the first parameter. |
default ThrowingFunction<T,R,X> |
ThrowingBiFunction.currySecond(U u)
Get a
ThrowingFunction by currying the second parameter. |
| Modifier and Type | Method and Description |
|---|---|
default <V> ThrowingBiFunction<T,U,V,X> |
ThrowingBiFunction.andThen(ThrowingFunction<? super R,? extends V,? extends X> after)
Returns a composed function that first applies this function to its input, and then applies the
after
function to the result. |
default <V> ThrowingFunction<T,V,X> |
ThrowingFunction.andThen(ThrowingFunction<? super R,? extends V,? extends X> after)
Returns a composed function that first applies this function to its input, and then applies the
after
function to the result. |
default <V> ThrowingFunction<V,R,X> |
ThrowingFunction.compose(ThrowingFunction<? super V,? extends T,? extends X> before)
Returns a composed function that first applies the
before function to its input, and then applies this
function to the result. |
static <S,T,X extends Exception> |
Functions.errorWrapper(ThrowingFunction<S,T,X> fun)
Wraps an
ThrowingFunction into an Function that throws an
Error if the function throws an Exception. |
default <T> ThrowingConsumer<T,X> |
ThrowingConsumer.map(ThrowingFunction<? super T,? extends A,X> fun)
Change the type of the parameter using the supplied mapper
|
default <T> ThrowingTriConsumer<T,B,C,X> |
ThrowingTriConsumer.mapFirst(ThrowingFunction<? super T,? extends A,X> fun) |
default <T> ThrowingBiConsumer<T,B,X> |
ThrowingBiConsumer.mapFirst(ThrowingFunction<? super T,? extends A,X> fun)
Change the first parameter using the supplied mapper.
|
default <T> ThrowingTriConsumer<A,T,C,X> |
ThrowingTriConsumer.mapSecond(ThrowingFunction<? super T,? extends B,X> fun) |
default <T> ThrowingBiConsumer<A,T,X> |
ThrowingBiConsumer.mapSecond(ThrowingFunction<? super T,? extends B,X> fun)
Change the second parameter using the supplied mapper.
|
default <T> ThrowingTriConsumer<A,B,T,X> |
ThrowingTriConsumer.mapThird(ThrowingFunction<? super T,? extends C,X> fun) |
Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.