T
- the type of the input to the functionR
- the type of the result of the function@FunctionalInterface public interface FunctionEx<T,R> extends Function<T,R>, Serializable, com.hazelcast.security.impl.function.SecuredFunction
Serializable
variant of java.util.function.Function
which declares checked exception.Modifier and Type | Method and Description |
---|---|
default <V> FunctionEx<T,V> |
andThen(FunctionEx<? super R,? extends V> after)
Serializable variant of java.util.function.Function#andThen(Function) . |
default R |
apply(T t) |
R |
applyEx(T t)
Exception-declaring version of
Function.apply(T) . |
default <V> FunctionEx<V,R> |
compose(FunctionEx<? super V,? extends T> before)
Serializable variant of java.util.function.Function#compose(Function) . |
static <T> FunctionEx<T,T> |
identity()
Serializable variant of java.util.function.Function#identity() . |
R applyEx(T t) throws Exception
Function.apply(T)
.Exception
- in case of any exceptional casestatic <T> FunctionEx<T,T> identity()
Serializable
variant of java.util.function.Function#identity()
.default <V> FunctionEx<V,R> compose(FunctionEx<? super V,? extends T> before)
Serializable
variant of java.util.function.Function#compose(Function)
.V
- the type of input to the before
function, and to the
composed functiondefault <V> FunctionEx<T,V> andThen(FunctionEx<? super R,? extends V> after)
Serializable
variant of java.util.function.Function#andThen(Function)
.V
- the type of output of the after
function, and of the
composed functionCopyright © 2023 Hazelcast, Inc.. All rights reserved.