final class ParallelArray.AsList
extends java.util.AbstractList<T>
implements java.util.RandomAccess
Constructor and Description |
---|
ParallelArray.AsList() |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T e) |
boolean |
add(T e) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
T |
get(int i) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
void |
removeRange(int fromIndex,
int toIndex) |
T |
set(int i,
T x) |
int |
size() |
java.lang.Object[] |
toArray() |
<V> V[] |
toArray(V[] a) |
containsAll, removeAll, retainAll, toString
public T get(int i)
public boolean isEmpty()
public int size()
public java.util.Iterator<T> iterator()
public java.util.ListIterator<T> listIterator()
public java.util.ListIterator<T> listIterator(int index)
public boolean add(T e)
public void add(int index, T e)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean addAll(int index, java.util.Collection<? extends T> c)
public void clear()
public boolean remove(java.lang.Object o)
public T remove(int index)
public void removeRange(int fromIndex, int toIndex)
removeRange
in class java.util.AbstractList<T>
public boolean contains(java.lang.Object o)
public int indexOf(java.lang.Object o)
public int lastIndexOf(java.lang.Object o)
public java.lang.Object[] toArray()