Package com.tangosol.util
Class ImmutableArrayList.ListView
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection
com.tangosol.util.WrapperCollections.AbstractWrapperList
com.tangosol.util.ImmutableArrayList.ListView
- All Implemented Interfaces:
Serializable
,Iterable
,Collection
,List
,SequencedCollection
- Enclosing class:
ImmutableArrayList
ListView exposes the underlying ImmutableArrayList through the
List
interface, maintaining correct equals() and
hashCode() semantics- See Also:
-
Field Summary
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate
-
Constructor Summary
ModifierConstructorDescriptionprotected
ListView()
Create a ListView over this ImmutableArrayList. -
Method Summary
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperList
add, addAll, get, getDelegate, indexOf, lastIndexOf, listIterator, listIterator, remove, replaceAll, set, sort, subList
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ListView
protected ListView()Create a ListView over this ImmutableArrayList.
-
-
Method Details
-
equals
- Specified by:
equals
in interfaceCollection
- Specified by:
equals
in interfaceList
- Overrides:
equals
in classWrapperCollections.AbstractWrapperCollection
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection
- Specified by:
hashCode
in interfaceList
- Overrides:
hashCode
in classWrapperCollections.AbstractWrapperCollection
-
toString
- Overrides:
toString
in classWrapperCollections.AbstractWrapperCollection
-