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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends T> c) boolean
addAll
(Collection<? extends T> c) int
addAllAbsent
(Collection<? extends T> c) boolean
addIfAbsent
(T element) void
clear()
boolean
int
int
hashCode()
remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) void
setModCount
(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, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
add
in interfaceCollection<T>
- Specified by:
add
in interfaceList<T>
- Overrides:
add
in classCopyOnWriteArrayList<T>
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceList<T>
- Overrides:
addAll
in classCopyOnWriteArrayList<T>
-
addAll
-
addAllAbsent
- Overrides:
addAllAbsent
in classCopyOnWriteArrayList<T>
-
addIfAbsent
- Overrides:
addIfAbsent
in classCopyOnWriteArrayList<T>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
- Specified by:
clear
in interfaceList<T>
- Overrides:
clear
in classCopyOnWriteArrayList<T>
-
remove
-
remove
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceList<T>
- Overrides:
remove
in classCopyOnWriteArrayList<T>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
- Specified by:
removeAll
in interfaceList<T>
- Overrides:
removeAll
in classCopyOnWriteArrayList<T>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T>
- Specified by:
retainAll
in interfaceList<T>
- Overrides:
retainAll
in classCopyOnWriteArrayList<T>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<T>
- Specified by:
hashCode
in interfaceList<T>
- Overrides:
hashCode
in classCopyOnWriteArrayList<T>
-
equals
- Specified by:
equals
in interfaceCollection<T>
- Specified by:
equals
in interfaceList<T>
- Overrides:
equals
in classCopyOnWriteArrayList<T>
-