public class ListProxy<T> extends Object implements List<T>
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
T e) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAll(int i,
Collection<? extends T> collection) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> collection) |
T |
get(int i) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int i) |
T |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
T |
set(int i,
T e) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
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 o)
public Object[] toArray()
public <T> T[] toArray(T[] ts)
public boolean add(T t)
public boolean remove(Object o)
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(Collection<? extends T> collection)
public boolean addAll(int i, Collection<? extends T> collection)
public boolean removeAll(Collection<?> collection)
public boolean retainAll(Collection<?> collection)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
public ListIterator<T> listIterator()
listIterator
in interface List<T>
public ListIterator<T> listIterator(int i)
listIterator
in interface List<T>
Copyright © 2021. All rights reserved.