Package mondrian.olap
Class Util.AbstractFlatList<T>
- java.lang.Object
-
- mondrian.olap.Util.AbstractFlatList<T>
-
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>,RandomAccess
- Direct Known Subclasses:
Util.Flat2List,Util.Flat3List
- Enclosing class:
- Util
public abstract static class Util.AbstractFlatList<T> extends Object implements List<T>, RandomAccess
-
-
Constructor Summary
Constructors Constructor Description AbstractFlatList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, Object element)booleanadd(Object t)booleanaddAll(int index, Collection<? extends T> c)booleanaddAll(Collection<? extends T> c)protected List<T>asArrayList()voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)booleanisEmpty()Iterator<T>iterator()ListIterator<T>listIterator()ListIterator<T>listIterator(int index)Tremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)Tset(int index, Object element)List<T>subList(int fromIndex, int toIndex)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, get, hashCode, indexOf, lastIndexOf, replaceAll, size, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIteratorin interfaceList<T>
-
isEmpty
public boolean isEmpty()
-
add
public boolean add(Object t)
-
addAll
public boolean addAll(Collection<? extends T> c)
-
addAll
public boolean addAll(int index, Collection<? extends T> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
clear
public void clear()
-
listIterator
public ListIterator<T> listIterator(int index)
- Specified by:
listIteratorin interfaceList<T>
-
contains
public boolean contains(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
-