8029141: Add @FunctionalInterface annotation to Callable interface
Reviewed-by: chegar, alanb
This commit is contained in:
parent
48000f4e2d
commit
e9e560db6d
@ -54,6 +54,7 @@ package java.util.concurrent;
|
||||
* @author Doug Lea
|
||||
* @param <V> the result type of method {@code call}
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Callable<V> {
|
||||
/**
|
||||
* Computes a result, or throws an exception if unable to do so.
|
||||
|
Loading…
Reference in New Issue
Block a user