equal
deleted
inserted
replaced
52 * @see Executor |
52 * @see Executor |
53 * @since 1.5 |
53 * @since 1.5 |
54 * @author Doug Lea |
54 * @author Doug Lea |
55 * @param <V> the result type of method {@code call} |
55 * @param <V> the result type of method {@code call} |
56 */ |
56 */ |
|
57 @FunctionalInterface |
57 public interface Callable<V> { |
58 public interface Callable<V> { |
58 /** |
59 /** |
59 * Computes a result, or throws an exception if unable to do so. |
60 * Computes a result, or throws an exception if unable to do so. |
60 * |
61 * |
61 * @return computed result |
62 * @return computed result |