A task that returns a result and may throw an exception. Implementors define a single method with no arguments called call . The Callable interface is similar to java.lang.Runnable, in that both are designed for classes whose instances are potentially executed by ano
| 23 | * @since 1.5 |
| 24 | */ |
| 25 | public interface Callable<V> { |
| 26 | /** |
| 27 | * Computes a result, or throws an exception if unable to do so. |
| 28 | * |
| 29 | * @return computed result |
| 30 | */ |
| 31 | V call(); |
| 32 | } |
no outgoing calls
no test coverage detected