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.68 by jsr166, Tue Sep 29 02:41:39 2015 UTC vs.
Revision 1.69 by jsr166, Tue Sep 29 18:54:30 2015 UTC

# Line 311 | Line 311 | public class CopyOnWriteArraySet<E> exte
311       * @return {@code true} if this set changed as a result of the call
312       * @throws ClassCastException if the class of an element of this set
313       *         is incompatible with the specified collection
314 <     * (<a href="Collection.html#optional-restrictions">optional</a>)
314 >     * (<a href="../Collection.html#optional-restrictions">optional</a>)
315       * @throws NullPointerException if this set contains a null element and the
316       *         specified collection does not permit null elements
317 <     * (<a href="Collection.html#optional-restrictions">optional</a>),
317 >     * (<a href="../Collection.html#optional-restrictions">optional</a>),
318       *         or if the specified collection is null
319       * @see #remove(Object)
320       */
# Line 332 | Line 332 | public class CopyOnWriteArraySet<E> exte
332       *
333       * @param  c collection containing elements to be retained in this set
334       * @return {@code true} if this set changed as a result of the call
335 <     * @throws ClassCastException if the types of one or more elements
336 <     *         in this set are incompatible with the specified collection
337 <     *         (<a href="#optional-restrictions">optional</a>)
338 <     * @throws NullPointerException if this set contains one or more
339 <     *         null elements and the specified collection does not permit null
340 <     *         elements
341 <     *         (<a href="#optional-restrictions">optional</a>),
335 >     * @throws ClassCastException if the class of an element of this set
336 >     *         is incompatible with the specified collection
337 >     * (<a href="../Collection.html#optional-restrictions">optional</a>)
338 >     * @throws NullPointerException if this set contains a null element and the
339 >     *         specified collection does not permit null elements
340 >     * (<a href="../Collection.html#optional-restrictions">optional</a>),
341       *         or if the specified collection is null
342       * @see #remove(Object)
343       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines