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 Summary
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.protectedAbstractWrapperList(List<E> list) Create an AbstractWrapperList which delegates to the specified List. - 
Method Summary
Modifier 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.AbstractWrapperCollection
add, 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.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray 
- 
Constructor Details
- 
AbstractWrapperList
protected AbstractWrapperList()Default constructor. - 
AbstractWrapperList
Create an AbstractWrapperList which delegates to the specified List.- Parameters:
 list- the List to delegate all calls to
 
 - 
 - 
Method Details
- 
getDelegate
Return the List to which all operations should be delegated to.- Overrides:
 getDelegatein classWrapperCollections.AbstractWrapperCollection<E>- Returns:
 - the wrapped List
 
 - 
addAll
 - 
get
 - 
set
 - 
add
 - 
remove
 - 
indexOf
 - 
lastIndexOf
- Specified by:
 lastIndexOfin interfaceList<E>
 - 
listIterator
- Specified by:
 listIteratorin interfaceList<E>
 - 
listIterator
- Specified by:
 listIteratorin interfaceList<E>
 - 
replaceAll
- Specified by:
 replaceAllin interfaceList<E>
 - 
sort
 - 
subList
 
 -