Apache CXF API

org.apache.cxf.common.util
Class ModCountCopyOnWriteArrayList<T>

java.lang.Object
  extended by java.util.concurrent.CopyOnWriteArrayList<T>
      extended by org.apache.cxf.common.util.ModCountCopyOnWriteArrayList<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess

public final class ModCountCopyOnWriteArrayList<T>
extends CopyOnWriteArrayList<T>

See Also:
Serialized Form

Constructor Summary
ModCountCopyOnWriteArrayList()
           
ModCountCopyOnWriteArrayList(Collection<? extends T> c)
           
 
Method Summary
 void add(int index, T element)
           
 boolean add(T element)
           
 boolean addAll(Collection<? extends T> c)
           
 boolean addAll(int index, Collection<? extends T> c)
           
 int addAllAbsent(Collection<? extends T> c)
           
 boolean addIfAbsent(T element)
           
 void clear()
           
 boolean equals(Object o)
           
 int getModCount()
           
 int hashCode()
           
 T remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 void setModCount(int i)
           
 
Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
clone, contains, containsAll, get, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, set, size, subList, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModCountCopyOnWriteArrayList

public ModCountCopyOnWriteArrayList()

ModCountCopyOnWriteArrayList

public ModCountCopyOnWriteArrayList(Collection<? extends T> c)
Method Detail

getModCount

public int getModCount()

setModCount

public void setModCount(int i)

add

public void add(int index,
                T element)
Specified by:
add in interface List<T>
Overrides:
add in class CopyOnWriteArrayList<T>

add

public boolean add(T element)
Specified by:
add in interface Collection<T>
Specified by:
add in interface List<T>
Overrides:
add in class CopyOnWriteArrayList<T>

addAll

public boolean addAll(Collection<? extends T> c)
Specified by:
addAll in interface Collection<T>
Specified by:
addAll in interface List<T>
Overrides:
addAll in class CopyOnWriteArrayList<T>

addAll

public boolean addAll(int index,
                      Collection<? extends T> c)
Specified by:
addAll in interface List<T>
Overrides:
addAll in class CopyOnWriteArrayList<T>

addAllAbsent

public int addAllAbsent(Collection<? extends T> c)
Overrides:
addAllAbsent in class CopyOnWriteArrayList<T>

addIfAbsent

public boolean addIfAbsent(T element)
Overrides:
addIfAbsent in class CopyOnWriteArrayList<T>

clear

public void clear()
Specified by:
clear in interface Collection<T>
Specified by:
clear in interface List<T>
Overrides:
clear in class CopyOnWriteArrayList<T>

remove

public T remove(int index)
Specified by:
remove in interface List<T>
Overrides:
remove in class CopyOnWriteArrayList<T>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<T>
Specified by:
remove in interface List<T>
Overrides:
remove in class CopyOnWriteArrayList<T>

removeAll

public boolean removeAll(Collection c)
Specified by:
removeAll in interface Collection<T>
Specified by:
removeAll in interface List<T>
Overrides:
removeAll in class CopyOnWriteArrayList<T>

retainAll

public boolean retainAll(Collection c)
Specified by:
retainAll in interface Collection<T>
Specified by:
retainAll in interface List<T>
Overrides:
retainAll in class CopyOnWriteArrayList<T>

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<T>
Specified by:
hashCode in interface List<T>
Overrides:
hashCode in class CopyOnWriteArrayList<T>

equals

public boolean equals(Object o)
Specified by:
equals in interface Collection<T>
Specified by:
equals in interface List<T>
Overrides:
equals in class CopyOnWriteArrayList<T>

Apache CXF API

Apache CXF