public interface ProxyList<E> extends List<E>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
add(E property) |
default void |
add(int index,
E element) |
default boolean |
addAll(Collection<? extends E> c) |
default boolean |
addAll(int index,
Collection<? extends E> c) |
default void |
clear() |
default boolean |
contains(Object o) |
default boolean |
containsAll(Collection<?> c) |
default E |
get(int index) |
List<E> |
getProxyList()
get the real list.
|
default int |
indexOf(Object o) |
default boolean |
isEmpty() |
default Iterator<E> |
iterator() |
default int |
lastIndexOf(Object o) |
default ListIterator<E> |
listIterator() |
default ListIterator<E> |
listIterator(int index) |
default E |
remove(int index) |
default boolean |
remove(Object o) |
default boolean |
removeAll(Collection<?> c) |
default boolean |
retainAll(Collection<?> c) |
default E |
set(int index,
E element) |
default int |
size() |
default List<E> |
subList(int fromIndex,
int toIndex) |
default Object[] |
toArray() |
default <T> T[] |
toArray(T[] a) |
equals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamdefault int size()
default boolean isEmpty()
default boolean contains(Object o)
default Object[] toArray()
default <T> T[] toArray(T[] a)
default boolean add(E property)
default boolean remove(Object o)
default boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>default boolean addAll(Collection<? extends E> c)
default boolean addAll(int index,
Collection<? extends E> c)
default boolean removeAll(Collection<?> c)
default boolean retainAll(Collection<?> c)
default void clear()
default int lastIndexOf(Object o)
lastIndexOf in interface List<E>default ListIterator<E> listIterator()
listIterator in interface List<E>default ListIterator<E> listIterator(int index)
listIterator in interface List<E>Copyright © 2022. All rights reserved.