Package mondrian.util
Class TraversalList<T>
- java.lang.Object
-
- mondrian.util.UnsupportedList<List<T>>
-
- mondrian.util.TraversalList<T>
-
public class TraversalList<T> extends UnsupportedList<List<T>>
Implementation ofList
for transposing an array of lists.- Since:
- Dec, 2007
- Author:
- Luis F. Canals
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
-
-
Constructor Summary
Constructors Constructor Description TraversalList(List<T>[] lists, Class<T> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class mondrian.util.UnsupportedList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
listIterator
public ListIterator<List<T>> listIterator(int index)
- Specified by:
listIterator
in interfaceList<T>
- Overrides:
listIterator
in classUnsupportedList<List<T>>
-
listIterator
public ListIterator<List<T>> listIterator()
- Specified by:
listIterator
in interfaceList<T>
- Overrides:
listIterator
in classUnsupportedList<List<T>>
-
size
public int size()
- Specified by:
size
in interfaceCollection<T>
- Specified by:
size
in interfaceList<T>
- Overrides:
size
in classUnsupportedList<List<T>>
-
toArray
public <S> S[] toArray(S[] a)
- Specified by:
toArray
in interfaceCollection<T>
- Specified by:
toArray
in interfaceList<T>
- Overrides:
toArray
in classUnsupportedList<List<T>>
-
toArray
public Object[] toArray()
- Specified by:
toArray
in interfaceCollection<T>
- Specified by:
toArray
in interfaceList<T>
- Overrides:
toArray
in classUnsupportedList<List<T>>
-
-