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

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArraySet.java (file contents):
Revision 1.63 by jsr166, Fri Jan 2 07:42:41 2015 UTC vs.
Revision 1.64 by jsr166, Tue Feb 17 18:55:39 2015 UTC

# Line 38 | Line 38 | import java.util.function.Predicate;
38   * copy-on-write set to maintain a set of Handler objects that
39   * perform some action upon state updates.
40   *
41 < *  <pre> {@code
41 > * <pre> {@code
42   * class Handler { void handle(); ... }
43   *
44   * class X {
# Line 174 | Line 174 | public class CopyOnWriteArraySet<E> exte
174       * The following code can be used to dump the set into a newly allocated
175       * array of {@code String}:
176       *
177 <     *  <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
177 >     * <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
178       *
179       * Note that {@code toArray(new Object[0])} is identical in function to
180       * {@code toArray()}.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines