Package org.apache.cxf.common.util
Class ModCountCopyOnWriteArrayList<T>
- java.lang.Object
- 
- java.util.concurrent.CopyOnWriteArrayList<T>
- 
- 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 SummaryConstructors Constructor Description ModCountCopyOnWriteArrayList()ModCountCopyOnWriteArrayList(Collection<? extends T> c)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, T element)booleanadd(T element)booleanaddAll(int index, Collection<? extends T> c)booleanaddAll(Collection<? extends T> c)intaddAllAbsent(Collection<? extends T> c)booleanaddIfAbsent(T element)voidclear()booleanequals(Object o)intgetModCount()inthashCode()Tremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)voidsetModCount(int i)- 
Methods inherited from class java.util.concurrent.CopyOnWriteArrayListclone, contains, containsAll, forEach, get, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, set, size, sort, spliterator, subList, toArray, toArray, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, stream, toArray
 
- 
 
- 
- 
- 
Constructor Detail- 
ModCountCopyOnWriteArrayListpublic ModCountCopyOnWriteArrayList() 
 - 
ModCountCopyOnWriteArrayListpublic ModCountCopyOnWriteArrayList(Collection<? extends T> c) 
 
- 
 - 
Method Detail- 
getModCountpublic int getModCount() 
 - 
setModCountpublic void setModCount(int i) 
 - 
addpublic void add(int index, T element)
 - 
addpublic boolean add(T element) - Specified by:
- addin interface- Collection<T>
- Specified by:
- addin interface- List<T>
- Overrides:
- addin class- CopyOnWriteArrayList<T>
 
 - 
addAllpublic boolean addAll(Collection<? extends T> c) - Specified by:
- addAllin interface- Collection<T>
- Specified by:
- addAllin interface- List<T>
- Overrides:
- addAllin class- CopyOnWriteArrayList<T>
 
 - 
addAllpublic boolean addAll(int index, Collection<? extends T> c)
 - 
addAllAbsentpublic int addAllAbsent(Collection<? extends T> c) - Overrides:
- addAllAbsentin class- CopyOnWriteArrayList<T>
 
 - 
addIfAbsentpublic boolean addIfAbsent(T element) - Overrides:
- addIfAbsentin class- CopyOnWriteArrayList<T>
 
 - 
clearpublic void clear() - Specified by:
- clearin interface- Collection<T>
- Specified by:
- clearin interface- List<T>
- Overrides:
- clearin class- CopyOnWriteArrayList<T>
 
 - 
removepublic T remove(int index) 
 - 
removepublic boolean remove(Object o) - Specified by:
- removein interface- Collection<T>
- Specified by:
- removein interface- List<T>
- Overrides:
- removein class- CopyOnWriteArrayList<T>
 
 - 
removeAllpublic boolean removeAll(Collection<?> c) - Specified by:
- removeAllin interface- Collection<T>
- Specified by:
- removeAllin interface- List<T>
- Overrides:
- removeAllin class- CopyOnWriteArrayList<T>
 
 - 
retainAllpublic boolean retainAll(Collection<?> c) - Specified by:
- retainAllin interface- Collection<T>
- Specified by:
- retainAllin interface- List<T>
- Overrides:
- retainAllin class- CopyOnWriteArrayList<T>
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- Collection<T>
- Specified by:
- hashCodein interface- List<T>
- Overrides:
- hashCodein class- CopyOnWriteArrayList<T>
 
 - 
equalspublic boolean equals(Object o) - Specified by:
- equalsin interface- Collection<T>
- Specified by:
- equalsin interface- List<T>
- Overrides:
- equalsin class- CopyOnWriteArrayList<T>
 
 
- 
 
-