-
- Type Parameters:
R
- The return 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.Returning<R>
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.0. UseSupplier
instead.Use this if you need a callback which returns a value.- Author:
- Bauke Scholtz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description R
invoke()
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
R invoke()
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.- Returns:
- The callback result.
-
-