Package com.tangosol.util
Class WrapperCollections.AbstractWrapperList<E>
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection<E>
com.tangosol.util.WrapperCollections.AbstractWrapperList<E>
- All Implemented Interfaces:
- Serializable,- Iterable<E>,- Collection<E>,- List<E>,- SequencedCollection<E>
- Direct Known Subclasses:
- ImmutableArrayList.ListView,- ImmutableMultiList.ListView
- Enclosing class:
- WrapperCollections
public abstract static class WrapperCollections.AbstractWrapperList<E>
extends WrapperCollections.AbstractWrapperCollection<E>
implements List<E>
List implementation which delegates all calls to another List.
- See Also:
- 
Field SummaryFields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollectionm_colDelegate
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedDefault constructor.protectedAbstractWrapperList(List<E> list) Create an AbstractWrapperList which delegates to the specified List.
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends E> c) get(int index) Return the List to which all operations should be delegated to.intintlistIterator(int index) remove(int index) voidreplaceAll(UnaryOperator<E> operator) voidsort(Comparator<? super E> c) subList(int fromIndex, int toIndex) Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollectionadd, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArray
- 
Constructor Details- 
AbstractWrapperListprotected AbstractWrapperList()Default constructor.
- 
AbstractWrapperListCreate an AbstractWrapperList which delegates to the specified List.- Parameters:
- list- the List to delegate all calls to
 
 
- 
- 
Method Details- 
getDelegateReturn the List to which all operations should be delegated to.- Overrides:
- getDelegatein class- WrapperCollections.AbstractWrapperCollection<E>
- Returns:
- the wrapped List
 
- 
addAll
- 
get
- 
set
- 
add
- 
remove
- 
indexOf
- 
lastIndexOf- Specified by:
- lastIndexOfin interface- List<E>
 
- 
listIterator- Specified by:
- listIteratorin interface- List<E>
 
- 
listIterator- Specified by:
- listIteratorin interface- List<E>
 
- 
replaceAll- Specified by:
- replaceAllin interface- List<E>
 
- 
sort
- 
subList
 
-