@User public class CheckedList<T> extends Object implements List<T>, Serializable
Modifier and Type | Class and Description |
---|---|
class |
CheckedList.CheckedListIterator |
static class |
CheckedList.implementations |
Constructor and Description |
---|
CheckedList() |
CheckedList(CheckedList.implementations implementation) |
CheckedList(CheckedList.implementations implementation,
List<? extends T> prototype) |
CheckedList(CheckedList.implementations implementation,
T... data) |
CheckedList(int capacity) |
CheckedList(List<? extends T> prototype) |
CheckedList(T... data) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T item) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
T |
get(int index) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T item) |
static <T> CheckedList<T> |
singleton(T x) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
@User public CheckedList()
@User public CheckedList(int capacity)
@User public CheckedList(CheckedList.implementations implementation)
@User public CheckedList(CheckedList.implementations implementation, List<? extends T> prototype)
@User @SafeVarargs public CheckedList(CheckedList.implementations implementation, T... data)
@User @SafeVarargs public CheckedList(T... data)
@User public boolean addAll(Collection<? extends T> c)
@User public boolean addAll(int index, Collection<? extends T> c)
@User public void clear()
@User public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
@User public int hashCode()
@User public boolean isEmpty()
@User public int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
@User public ListIterator<T> listIterator()
listIterator
in interface List<T>
@User public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
@User public boolean removeAll(Collection<?> c)
@User public boolean retainAll(Collection<?> c)
@User public int size()
@User public <T> T[] toArray(T[] a)
@User public static <T> CheckedList<T> singleton(T x)
see also the complete user documentation .