ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Callable.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Callable.java (file contents):
Revision 1.4 by dl, Tue Jun 24 14:34:47 2003 UTC vs.
Revision 1.5 by dl, Sun Aug 31 13:33:13 2003 UTC

# Line 11 | Line 11 | package java.util.concurrent;
11   * Implementors define a single method with no arguments called
12   * <tt>call</tt>.
13   *
14 < * <p>The <tt>Callable</tt> interface is similar to {@link Runnable},
15 < * in that both are designed for classes whose instances are
16 < * potentially executed by another thread.  A <tt>Runnable</tt>,
17 < * however, does not return a result and cannot throw a checked
18 < * exception.
14 > * <p>The <tt>Callable</tt> interface is similar to {@link
15 > * java.lang.Runnable}, in that both are designed for classes whose
16 > * instances are potentially executed by another thread.  A
17 > * <tt>Runnable</tt>, however, does not return a result and cannot
18 > * throw a checked exception.
19   *
20
21 * @since 1.5
20   * @see Executor
21   * @see FutureTask
22 < *
25 < * @spec JSR-166
26 < * @revised $Date$
27 < * @editor $Author$
22 > * @since 1.5
23   * @author Doug Lea
24   */
25   public interface Callable<V> {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines