java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.List<K>
public class ReadOnlyMultiList<K>
extends java.lang.Object
implements java.util.List<K>
Constructor | Description |
---|---|
ReadOnlyMultiList() |
|
ReadOnlyMultiList(java.util.List<K>[] esets) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int index,
K element) |
|
boolean |
add(K e) |
|
boolean |
addAll(int index,
java.util.Collection<? extends K> c) |
|
boolean |
addAll(java.util.Collection<? extends K> c) |
|
void |
addList(java.util.List<K> eset) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object o) |
|
boolean |
containsAll(java.util.Collection<?> c) |
|
K |
get(int index) |
|
int |
indexOf(java.lang.Object o) |
|
boolean |
isEmpty() |
|
java.util.Iterator<K> |
iterator() |
|
int |
lastIndexOf(java.lang.Object o) |
|
java.util.ListIterator<K> |
listIterator() |
|
java.util.ListIterator<K> |
listIterator(int index) |
|
K |
remove(int index) |
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection<?> c) |
|
boolean |
retainAll(java.util.Collection<?> c) |
|
K |
set(int index,
K element) |
|
int |
size() |
|
java.util.List<K> |
subList(int fromIndex,
int toIndex) |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] a) |
public ReadOnlyMultiList(java.util.List<K>[] esets)
public ReadOnlyMultiList()
public void addList(java.util.List<K> eset)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<K> iterator()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(K e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends K> c)
public boolean addAll(int index, java.util.Collection<? extends K> c)
addAll
in interface java.util.List<K>
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<K>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<K>
public java.util.ListIterator<K> listIterator()
listIterator
in interface java.util.List<K>
public java.util.ListIterator<K> listIterator(int index)
listIterator
in interface java.util.List<K>