Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T item) |
boolean |
add(T item) |
boolean |
addAll(Collection<? extends T> items) |
boolean |
addAll(int index,
Collection<? extends T> items) |
void |
clear() |
boolean |
contains(Object item) |
boolean |
containsAll(Collection<?> items) |
T |
get(int index) |
int |
indexOf(Object item) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object item) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object item) |
boolean |
removeAll(Collection<?> items) |
boolean |
retainAll(Collection<?> items) |
T |
set(int index,
T item) |
int |
size() |
List<T> |
subList(int start,
int end) |
Object[] |
toArray() |
<X> X[] |
toArray(X[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public int size()
public boolean isEmpty()
public boolean contains(Object item)
public Object[] toArray()
public <X> X[] toArray(X[] array)
public boolean add(T item)
public boolean remove(Object item)
public boolean containsAll(Collection<?> items)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(Collection<? extends T> items)
public boolean addAll(int index, Collection<? extends T> items)
public boolean removeAll(Collection<?> items)
public boolean retainAll(Collection<?> items)
public void clear()
public int lastIndexOf(Object item)
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>
Copyright © 2017–2022 Cactoos. All rights reserved.