E - public class SetAsList<E> extends Object implements List<E>
UnsupportedOperationException| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element)
Does not support List methods
UnsupportedOperationException. |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c)
Does not support List methods
UnsupportedOperationException. |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
E |
get(int index)
Does not support List methods
UnsupportedOperationException. |
int |
indexOf(Object o)
Does not support List methods
UnsupportedOperationException. |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o)
Does not support List methods
UnsupportedOperationException. |
ListIterator<E> |
listIterator()
Does not support List methods
UnsupportedOperationException. |
ListIterator<E> |
listIterator(int index)
Does not support List methods
UnsupportedOperationException. |
E |
remove(int index)
Does not support List methods
UnsupportedOperationException. |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
E |
set(int index,
E element)
Does not support List methods
UnsupportedOperationException. |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex)
Does not support List methods
UnsupportedOperationException. |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>public boolean addAll(Collection<? extends E> c)
public boolean addAll(int index,
Collection<? extends E> c)
UnsupportedOperationException.public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public E get(int index)
UnsupportedOperationException.public E set(int index, E element)
UnsupportedOperationException.public void add(int index,
E element)
UnsupportedOperationException.public E remove(int index)
UnsupportedOperationException.public int indexOf(Object o)
UnsupportedOperationException.public int lastIndexOf(Object o)
UnsupportedOperationException.lastIndexOf in interface List<E>public ListIterator<E> listIterator()
UnsupportedOperationException.listIterator in interface List<E>public ListIterator<E> listIterator(int index)
UnsupportedOperationException.listIterator in interface List<E>Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.