public final class UncheckedArrayList<T> extends Object implements List<T>
Constructor and Description |
---|
UncheckedArrayList(Class<?> clazz) |
UncheckedArrayList(Class<?> clazz,
T[] initial) |
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) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
void |
forEach(Consumer<? super T> action) |
T |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
Stream<T> |
parallelStream() |
T |
remove(int index) |
boolean |
remove(Object element) |
boolean |
removeAll(Collection<?> c) |
boolean |
removeIf(Predicate<? super T> filter) |
void |
replaceAll(UnaryOperator<T> operator) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
int |
size() |
void |
sort(Comparator<? super T> c) |
Spliterator<T> |
spliterator() |
Stream<T> |
stream() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<E> E[] |
toArray(E[] a) |
public UncheckedArrayList(Class<?> clazz)
public boolean add(T element)
public boolean remove(Object element)
public void clear()
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <E> E[] toArray(E[] a)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(Collection<? extends T> c)
public boolean addAll(int index, Collection<? extends T> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
public ListIterator<T> listIterator()
listIterator
in interface List<T>
public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
public Stream<T> stream()
stream
in interface Collection<T>
public Stream<T> parallelStream()
parallelStream
in interface Collection<T>
public Spliterator<T> spliterator()
spliterator
in interface Iterable<T>
spliterator
in interface Collection<T>
spliterator
in interface List<T>
public boolean removeIf(Predicate<? super T> filter)
removeIf
in interface Collection<T>
public void replaceAll(UnaryOperator<T> operator)
replaceAll
in interface List<T>
public void sort(Comparator<? super T> c)
Copyright © 2018 JBoss by Red Hat. All rights reserved.