public class ConcurrentArrayList<E>
extends java.util.AbstractCollection<E>
Modifier and Type | Class and Description |
---|---|
static class |
ConcurrentArrayList.ArrayIterator<E> |
static interface |
ConcurrentArrayList.Match<E,K> |
Constructor and Description |
---|
ConcurrentArrayList(java.lang.Class<E> type) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E value) |
E |
addIfAbsent(E value) |
<K> E |
addIfAbsent(E value,
ConcurrentArrayList.Match<E,K> match,
K key) |
static java.lang.Class<?> |
calculateType(java.lang.Class<?> cl) |
static java.lang.Class<?> |
calculateType(java.lang.Class<?> topClass,
java.lang.Class<?> cl) |
boolean |
contains(java.lang.Object testValue) |
<K> E |
find(K key,
ConcurrentArrayList.Match<E,K> match) |
E |
get(int index) |
<K> int |
indexOf(K key,
ConcurrentArrayList.Match<E,K> match) |
java.util.Iterator<E> |
iterator() |
E |
remove(int index) |
<K> E |
remove(K key,
ConcurrentArrayList.Match<E,K> match) |
boolean |
remove(java.lang.Object value) |
E |
set(int index,
E value) |
int |
size() |
E[] |
toArray() |
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ConcurrentArrayList(java.lang.Class<E> type)
public int size()
public E get(int index)
public boolean contains(java.lang.Object testValue)
public <K> E find(K key, ConcurrentArrayList.Match<E,K> match)
public <K> int indexOf(K key, ConcurrentArrayList.Match<E,K> match)
public boolean add(E value)
public <K> E addIfAbsent(E value, ConcurrentArrayList.Match<E,K> match, K key)
public boolean remove(java.lang.Object value)
public E remove(int index)
public <K> E remove(K key, ConcurrentArrayList.Match<E,K> match)
public java.util.Iterator<E> iterator()
public E[] toArray()
public static java.lang.Class<?> calculateType(java.lang.Class<?> cl)
public static java.lang.Class<?> calculateType(java.lang.Class<?> topClass, java.lang.Class<?> cl)