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.21 by jsr166, Tue Apr 26 01:17:18 2005 UTC vs.
Revision 1.22 by jsr166, Mon May 2 08:35:49 2005 UTC

# Line 88 | Line 88 | public class CopyOnWriteArraySet<E> exte
88      public <T> T[]  toArray(T[] a)            { return al.toArray(a); }
89      public void     clear()                   {        al.clear(); }
90      public boolean  remove(Object o)          { return al.remove(o); }
91 <    public boolean  add(E o)                  { return al.addIfAbsent(o); }
91 >    public boolean  add(E e)                  { return al.addIfAbsent(e); }
92      public boolean  containsAll(Collection<?> c)      { return al.containsAll(c); }
93      public boolean  addAll(Collection<? extends E> c) { return al.addAllAbsent(c) > 0; }
94      public boolean  removeAll(Collection<?> c)        { return al.removeAll(c); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines