Package com.vmware.vapi.core
Interface Consumer<T>
-
- Type Parameters:
T
- input data type
public interface Consumer<T>
Represents an operation that accepts a single input. This is borrowed semantic from Java 8java.util.function.Consumer
and provided here for compatibility with Java 7.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T item)
Performs the operation on the given input
-
-
-
Method Detail
-
accept
void accept(T item)
Performs the operation on the given input- Parameters:
item
- the input argument
-
-