public class TraversalList<T> extends UnsupportedList<List<T>>
List
for transposing an array of
lists.UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
Constructor and Description |
---|
TraversalList(List<T>[] lists,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
List<T> |
get(int index) |
Iterator<List<T>> |
iterator() |
ListIterator<List<T>> |
listIterator() |
ListIterator<List<T>> |
listIterator(int index) |
List<T> |
set(int index,
List<T> l) |
int |
size() |
List<List<T>> |
subList(int first,
int last) |
Object[] |
toArray() |
<S> S[] |
toArray(S[] a) |
public ListIterator<List<T>> listIterator(int index)
listIterator
in interface List<List<T>>
listIterator
in class UnsupportedList<List<T>>
public ListIterator<List<T>> listIterator()
listIterator
in interface List<List<T>>
listIterator
in class UnsupportedList<List<T>>
public int size()
public <S> S[] toArray(S[] a)
public Object[] toArray()