-
- Type Parameters:
A
- The argument type.
- 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.
@Deprecated(since="4.0", forRemoval=true) @FunctionalInterface public static interface Callback.WithArgument<A>
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.0. UseConsumer
instead.Use this if you need a callback which takes an argument.- Author:
- Bauke Scholtz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
invoke(A a)
Deprecated, for removal: This API element is subject to removal in a future version.This method should be invoked by the method where you're passing this callback instance to.
-
-
-
Method Detail
-
invoke
void invoke(A a)
Deprecated, for removal: This API element is subject to removal in a future version.This method should be invoked by the method where you're passing this callback instance to.- Parameters:
a
- The callback argument to work with.
-
-