ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/CyclicAction.java
(Generate patch)

Comparing jsr166/src/test/loops/CyclicAction.java (file contents):
Revision 1.1 by dl, Fri Oct 23 19:57:06 2009 UTC vs.
Revision 1.2 by jsr166, Tue Nov 3 00:00:43 2009 UTC

# Line 10 | Line 10 | import java.util.*;
10   /**
11   * A computation that is broken into a series of task executions, each
12   * separated by a Phaser arrival.  Concrete subclasses must
13 < * define method <tt>compute</tt>, that performs the action occurring
13 > * define method {@code compute}, that performs the action occurring
14   * at each step of the barrier.  Upon invocation of this task, the
15 < * <tt>compute</tt> method is repeatedly invoked until the barrier
16 < * <tt>isTerminated</tt> or until its execution throws an exception.
15 > * {@code compute} method is repeatedly invoked until the barrier
16 > * {@code isTerminated} or until its execution throws an exception.
17   *
18   * <p> <b>Sample Usage.</b> Here is a sketch of a set of CyclicActions
19   * that each perform 500 iterations of an imagined image smoothing

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines