VInner
- - type of the items in the inner invisible list.VOuter
- - type of the items publically accessible in the outer list.public abstract class ConvertedList<VInner,VOuter> extends ConvertedCollection<VInner,VOuter> implements java.util.List<VOuter>
Constructor and Description |
---|
ConvertedList(java.util.List<VInner> inner) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
VOuter element) |
boolean |
addAll(int index,
java.util.Collection<? extends VOuter> c) |
VOuter |
get(int index) |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<VOuter> |
listIterator() |
java.util.ListIterator<VOuter> |
listIterator(int index) |
VOuter |
remove(int index) |
VOuter |
set(int index,
VOuter element) |
java.util.List<VOuter> |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
getOuterConverter, toInner, toOuter
public ConvertedList(java.util.List<VInner> inner)
public void add(int index, VOuter element)
add
in interface java.util.List<VOuter>
public boolean addAll(int index, java.util.Collection<? extends VOuter> c)
addAll
in interface java.util.List<VOuter>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<VOuter>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<VOuter>
public java.util.ListIterator<VOuter> listIterator()
listIterator
in interface java.util.List<VOuter>
public java.util.ListIterator<VOuter> listIterator(int index)
listIterator
in interface java.util.List<VOuter>
public VOuter set(int index, VOuter element)
set
in interface java.util.List<VOuter>