Package cz.o2.proxima.core.functional
Interface Consumer<T>
-
- Type Parameters:
T
- type of input parameter
- All Superinterfaces:
java.io.Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Stable @FunctionalInterface public interface Consumer<T> extends java.io.Serializable
Serializable
consumer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T input)
Apply action to given input.
-
-
-
Method Detail
-
accept
void accept(T input)
Apply action to given input.- Parameters:
input
- the input
-
-