Package ubic.gemma.model.util
Class UninitializedList<T>
java.lang.Object
ubic.gemma.model.util.UninitializedCollection<T>
ubic.gemma.model.util.UninitializedList<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
A list that is intentionally not initialized.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends T> c) get(int index) intintlistIterator(int index) remove(int index) subList(int fromIndex, int toIndex) Methods inherited from class ubic.gemma.model.util.UninitializedCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, uninitializedExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Constructor Details
-
UninitializedList
public UninitializedList() -
UninitializedList
public UninitializedList(int size)
-
-
Method Details
-
addAll
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-