Class ListView<T>
java.lang.Object
ch.ethz.sis.openbis.generic.asapi.v3.dto.common.fetchoptions.view.AbstractCollectionView<T>
ch.ethz.sis.openbis.generic.asapi.v3.dto.common.fetchoptions.view.ListView<T>
- All Implemented Interfaces:
Serializable,Iterable<T>,Collection<T>,List<T>,SequencedCollection<T>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends T> c) protected Collection<T> createLimited(Collection<T> originalCollection, Integer fromOrNull, Integer countOrNull) get(int index) intintlistIterator(int index) remove(int index) subList(int fromIndex, int toIndex) Methods inherited from class ch.ethz.sis.openbis.generic.asapi.v3.dto.common.fetchoptions.view.AbstractCollectionView
add, addAll, clear, contains, containsAll, copyItems, equals, getOriginalCollection, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ListView
-
-
Method Details
-
createLimited
protected Collection<T> createLimited(Collection<T> originalCollection, Integer fromOrNull, Integer countOrNull) - Specified by:
createLimitedin classAbstractCollectionView<T>
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-
addAll
-
getLimitedCollection
- Overrides:
getLimitedCollectionin classAbstractCollectionView<T>
-