Package com.hazelcast.function
Interface ConsumerEx<T>
- Type Parameters:
T
- the type of the input to the operation
- All Superinterfaces:
Consumer<T>
,com.hazelcast.security.impl.function.SecuredFunction
,Serializable
,ThrowingConsumer<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 ConsumerEx<T>
extends ThrowingConsumer<T>, Serializable, com.hazelcast.security.impl.function.SecuredFunction
Serializable
variant of java.util.function.Consumer
which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConsumerEx<T>
andThen
(ConsumerEx<? super T> after) Serializable
variant ofjava.util.function.Consumer#andThen(Consumer)
.static <T> ConsumerEx<T>
noop()
Returns a consumer that does nothing.Methods inherited from interface com.hazelcast.security.impl.function.SecuredFunction
permissions
Methods inherited from interface com.hazelcast.function.ThrowingConsumer
accept, acceptEx
-
Method Details
-
andThen
Serializable
variant ofjava.util.function.Consumer#andThen(Consumer)
. -
noop
Returns a consumer that does nothing.- Type Parameters:
T
- the consumer input type
-