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.62 by jsr166, Wed Dec 31 09:37:20 2014 UTC vs.
Revision 1.63 by jsr166, Fri Jan 2 07:42:41 2015 UTC

# Line 339 | Line 339 | public class CopyOnWriteArraySet<E> exte
339              return true;
340          if (!(o instanceof Set))
341              return false;
342 <        Set<?> set = (Set<?>)(o);
342 >        Set<?> set = (Set<?>)o;
343          Iterator<?> it = set.iterator();
344  
345          // Uses O(n^2) algorithm that is only appropriate

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines