public class ListView<T> extends AbstractList<T> implements List<T>, Serializable
modCount| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
T |
get(int index) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
static void |
main(String... args) |
static <T> ListView<T> |
of(List<T> parent) |
static <T> ListView<T> |
of(List<T> parent,
int offset) |
static <T> ListView<T> |
of(T[] parent) |
static <T> ListView<T> |
of(T[] parent,
int offset) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
T |
set(int index,
T element) |
int |
size() |
Object[] |
toArray() |
String |
toString() |
equals, hashCode, indexOf, lastIndexOf, removeRange, subListcontains, containsAll, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, hashCode, indexOf, lastIndexOf, replaceAll, sort, spliterator, subList, toArrayparallelStream, removeIf, streampublic static void main(String... args)
public static <T> ListView<T> of(T[] parent)
public static <T> ListView<T> of(T[] parent, int offset)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface List<T>isEmpty in class AbstractCollection<T>public Object[] toArray()
toArray in interface Collection<T>toArray in interface List<T>toArray in class AbstractCollection<T>public boolean add(T t)
add in interface Collection<T>add in interface List<T>add in class AbstractList<T>public boolean remove(Object o)
remove in interface Collection<T>remove in interface List<T>remove in class AbstractCollection<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>addAll in interface List<T>addAll in class AbstractCollection<T>public boolean addAll(int index,
Collection<? extends T> c)
public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>removeAll in interface List<T>removeAll in class AbstractCollection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>retainAll in interface List<T>retainAll in class AbstractCollection<T>public void clear()
clear in interface Collection<T>clear in interface List<T>clear in class AbstractList<T>public T get(int index)
public void add(int index,
T element)
public T remove(int index)
public ListIterator<T> listIterator()
listIterator in interface List<T>listIterator in class AbstractList<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>listIterator in class AbstractList<T>public String toString()
toString in class AbstractCollection<T>Copyright © 2015. All rights reserved.