Package org.codehaus.mojo.exec
Interface Invokable<T>
-
- Type Parameters:
T
- - The type of object that will be acted upon.
interface Invokable<T>
A simple Java 7 pseudo-class based on the Java 8Consumer
class. Can and should be deleted once this project moves to a minimum execution environment of Java 8+.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T object)
Takes some object and acts upon it.
-
-
-
Method Detail
-
accept
void accept(T object)
Takes some object and acts upon it.- Parameters:
object
- - The object that will be taken
-
-