public final class ModCountCopyOnWriteArrayList<T> extends CopyOnWriteArrayList<T>
Constructor and Description |
---|
ModCountCopyOnWriteArrayList() |
ModCountCopyOnWriteArrayList(Collection<? extends T> c) |
Modifier and Type | Method and Description |
---|---|
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) |
clone, contains, containsAll, forEach, get, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, set, size, sort, spliterator, subList, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, stream
public ModCountCopyOnWriteArrayList()
public ModCountCopyOnWriteArrayList(Collection<? extends T> c)
public int getModCount()
public void setModCount(int i)
public void add(int index, T element)
public boolean add(T element)
add
in interface Collection<T>
add
in interface List<T>
add
in class CopyOnWriteArrayList<T>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T>
addAll
in interface List<T>
addAll
in class CopyOnWriteArrayList<T>
public boolean addAll(int index, Collection<? extends T> c)
public int addAllAbsent(Collection<? extends T> c)
addAllAbsent
in class CopyOnWriteArrayList<T>
public boolean addIfAbsent(T element)
addIfAbsent
in class CopyOnWriteArrayList<T>
public void clear()
clear
in interface Collection<T>
clear
in interface List<T>
clear
in class CopyOnWriteArrayList<T>
public T remove(int index)
public boolean remove(Object o)
remove
in interface Collection<T>
remove
in interface List<T>
remove
in class CopyOnWriteArrayList<T>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T>
removeAll
in interface List<T>
removeAll
in class CopyOnWriteArrayList<T>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<T>
retainAll
in interface List<T>
retainAll
in class CopyOnWriteArrayList<T>
public int hashCode()
hashCode
in interface Collection<T>
hashCode
in interface List<T>
hashCode
in class CopyOnWriteArrayList<T>
public boolean equals(Object o)
equals
in interface Collection<T>
equals
in interface List<T>
equals
in class CopyOnWriteArrayList<T>
Copyright © 2021 JBoss by Red Hat. All rights reserved.