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.66 by jsr166, Tue May 26 19:22:09 2015 UTC vs.
Revision 1.67 by jsr166, Mon Sep 7 04:46:36 2015 UTC

# Line 310 | Line 310 | public class CopyOnWriteArraySet<E> exte
310       * @param  c collection containing elements to be removed from this set
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 (optional)
313 >     *         is incompatible with the specified collection
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 (optional),
316 >     *         specified collection does not permit null elements
317 >     * (<a href="Collection.html#optional-restrictions">optional</a>),
318       *         or if the specified collection is null
319       * @see #remove(Object)
320       */
# Line 330 | 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 class of an element of this set
336 <     *         is incompatible with the specified collection (optional)
337 <     * @throws NullPointerException if this set contains a null element and the
338 <     *         specified collection does not permit null elements (optional),
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>),
342       *         or if the specified collection is null
343       * @see #remove(Object)
344       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines