net.infonode.util.collection
Class CopyOnWriteArrayList
java.lang.Object
net.infonode.util.collection.CopyOnWriteArrayList
public final class CopyOnWriteArrayList
- extends java.lang.Object
- Version:
- $Revision: 1.3 $
- Author:
- $Author: jesper $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyOnWriteArrayList
public CopyOnWriteArrayList(int initialCapacity)
removeAll
public void removeAll(java.util.Collection toRemove)
add
public void add(java.lang.Object element)
remove
public boolean remove(java.lang.Object element)
remove
public void remove(int index)
indexOf
public int indexOf(java.lang.Object element)
each
public void each(Closure closure)
iterator
public java.util.Iterator iterator()
size
public int size()
get
public java.lang.Object get(int index)
getElements
public java.lang.Object[] getElements()