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 ofListfor 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)intsize()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:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classUnsupportedList<List<T>>
-
listIterator
public ListIterator<List<T>> listIterator()
- Specified by:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classUnsupportedList<List<T>>
-
size
public int size()
- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceList<T>- Overrides:
sizein classUnsupportedList<List<T>>
-
toArray
public <S> S[] toArray(S[] a)
- Specified by:
toArrayin interfaceCollection<T>- Specified by:
toArrayin interfaceList<T>- Overrides:
toArrayin classUnsupportedList<List<T>>
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceCollection<T>- Specified by:
toArrayin interfaceList<T>- Overrides:
toArrayin classUnsupportedList<List<T>>
-
-