java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.List<K>
public class ReadOnlyFilteredList<K>
extends java.lang.Object
implements java.util.List<K>
Constructor | Description |
---|---|
ReadOnlyFilteredList(java.util.List<K> l,
Filterer<K> fill) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int arg0,
K arg1) |
|
boolean |
add(K arg0) |
|
boolean |
addAll(int arg0,
java.util.Collection<? extends K> arg1) |
|
boolean |
addAll(java.util.Collection<? extends K> arg0) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object arg0) |
|
boolean |
containsAll(java.util.Collection<?> arg0) |
|
K |
get(int arg0) |
|
int |
indexOf(java.lang.Object arg0) |
|
boolean |
isEmpty() |
|
java.util.Iterator<K> |
iterator() |
|
int |
lastIndexOf(java.lang.Object arg0) |
|
java.util.ListIterator<K> |
listIterator() |
|
java.util.ListIterator<K> |
listIterator(int arg0) |
|
K |
remove(int arg0) |
|
boolean |
remove(java.lang.Object arg0) |
|
boolean |
removeAll(java.util.Collection<?> arg0) |
|
boolean |
retainAll(java.util.Collection<?> arg0) |
|
K |
set(int arg0,
K arg1) |
|
int |
size() |
|
java.util.List<K> |
subList(int arg0,
int arg1) |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] arg0) |
public boolean add(K arg0)
public boolean addAll(java.util.Collection<? extends K> arg0)
public boolean addAll(int arg0, java.util.Collection<? extends K> arg1)
addAll
in interface java.util.List<K>
public void clear()
public boolean contains(java.lang.Object arg0)
public boolean containsAll(java.util.Collection<?> arg0)
public int indexOf(java.lang.Object arg0)
indexOf
in interface java.util.List<K>
public boolean isEmpty()
public java.util.Iterator<K> iterator()
public int lastIndexOf(java.lang.Object arg0)
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 arg0)
listIterator
in interface java.util.List<K>
public boolean remove(java.lang.Object arg0)
public boolean removeAll(java.util.Collection<?> arg0)
public boolean retainAll(java.util.Collection<?> arg0)
public int size()
public java.util.List<K> subList(int arg0, int arg1)
subList
in interface java.util.List<K>
public java.lang.Object[] toArray()