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