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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c) booleanaddAll(Collection<? extends T> c) intaddAllAbsent(Collection<? extends T> c) booleanaddIfAbsent(T element) voidclear()booleanintinthashCode()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) voidsetModCount(int i) Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
clone, contains, containsAll, forEach, get, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, set, size, sort, spliterator, subList, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Constructor Details
-
ModCountCopyOnWriteArrayList
public ModCountCopyOnWriteArrayList() -
ModCountCopyOnWriteArrayList
-
-
Method Details
-
getModCount
public int getModCount() -
setModCount
public void setModCount(int i) -
add
-
add
- Specified by:
addin interfaceCollection<T>- Specified by:
addin interfaceList<T>- Overrides:
addin classCopyOnWriteArrayList<T>
-
addAll
- Specified by:
addAllin interfaceCollection<T>- Specified by:
addAllin interfaceList<T>- Overrides:
addAllin classCopyOnWriteArrayList<T>
-
addAll
-
addAllAbsent
- Overrides:
addAllAbsentin classCopyOnWriteArrayList<T>
-
addIfAbsent
- Overrides:
addIfAbsentin classCopyOnWriteArrayList<T>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>- Specified by:
clearin interfaceList<T>- Overrides:
clearin classCopyOnWriteArrayList<T>
-
remove
-
remove
- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceList<T>- Overrides:
removein classCopyOnWriteArrayList<T>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>- Specified by:
removeAllin interfaceList<T>- Overrides:
removeAllin classCopyOnWriteArrayList<T>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>- Specified by:
retainAllin interfaceList<T>- Overrides:
retainAllin classCopyOnWriteArrayList<T>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<T>- Specified by:
hashCodein interfaceList<T>- Overrides:
hashCodein classCopyOnWriteArrayList<T>
-
equals
- Specified by:
equalsin interfaceCollection<T>- Specified by:
equalsin interfaceList<T>- Overrides:
equalsin classCopyOnWriteArrayList<T>
-