-
- Type Parameters:
A
- The argument type.
- All Superinterfaces:
Serializable
- Enclosing class:
- Callback
- 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 static interface Callback.SerializableWithArgument<A> extends Serializable
Use this if you need a serializable callback which takes an argument.- Since:
- 2.1
- Author:
- Bauke Scholtz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invoke(A a)
This method should be invoked by the method where you're passing this callback instance to.
-
-
-
Method Detail
-
invoke
void invoke(A a)
This method should be invoked by the method where you're passing this callback instance to.- Parameters:
a
- The callback argument to work with.
-
-