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

Comparing jsr166/src/main/java/util/concurrent/Future.java (file contents):
Revision 1.39 by jsr166, Sun May 25 02:33:45 2014 UTC vs.
Revision 1.40 by jsr166, Tue Feb 17 18:55:39 2015 UTC

# Line 25 | Line 25 | package java.util.concurrent;
25   * <b>Sample Usage</b> (Note that the following classes are all
26   * made-up.)
27   *
28 < *  <pre> {@code
28 > * <pre> {@code
29   * interface ArchiveSearcher { String search(String target); }
30   * class App {
31   *   ExecutorService executor = ...
# Line 47 | Line 47 | package java.util.concurrent;
47   * The {@link FutureTask} class is an implementation of {@code Future} that
48   * implements {@code Runnable}, and so may be executed by an {@code Executor}.
49   * For example, the above construction with {@code submit} could be replaced by:
50 < *  <pre> {@code
50 > * <pre> {@code
51   * FutureTask<String> future =
52   *   new FutureTask<>(new Callable<String>() {
53   *     public String call() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines