Package com.hazelcast.function
Interface SupplierEx<T>
- Type Parameters:
T- the type of results supplied by this supplier
- All Superinterfaces:
com.hazelcast.security.impl.function.SecuredFunction,Serializable,Supplier<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SupplierEx<T>
extends Supplier<T>, Serializable, com.hazelcast.security.impl.function.SecuredFunction
Serializable variant of java.util.function.Supplier
which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> SupplierEx<V>andThen(FunctionEx<? super T, ? extends V> after) Serializableanalogue ofjava.util.function.Function#andThen(Function).default Tget()getEx()Exception-declaring version ofSupplier.get().Methods inherited from interface com.hazelcast.security.impl.function.SecuredFunction
permissions
-
Method Details
-
getEx
Exception-declaring version ofSupplier.get().- Throws:
Exception- in case of any exceptional case
-
get
-
andThen
Serializableanalogue ofjava.util.function.Function#andThen(Function).- Type Parameters:
V- the type of output of theafterfunction, and of the composed function- Since:
- 5.4
-