Package com.tangosol.util
Class ImmutableArrayList.ListView
- java.lang.Object
-
- com.tangosol.util.WrapperCollections.AbstractWrapperCollection<E>
-
- com.tangosol.util.WrapperCollections.AbstractWrapperList
-
- com.tangosol.util.ImmutableArrayList.ListView
-
- All Implemented Interfaces:
Serializable,Iterable,Collection,List
- Enclosing class:
- ImmutableArrayList
protected class ImmutableArrayList.ListView extends WrapperCollections.AbstractWrapperList
ListView exposes the underlying ImmutableArrayList through theListinterface, maintaining correct equals() and hashCode() semantics- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedListView()Create a ListView over this ImmutableArrayList.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringtoString()-
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
-
-
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceCollection- Specified by:
equalsin interfaceList- Overrides:
equalsin classWrapperCollections.AbstractWrapperCollection
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCollection- Specified by:
hashCodein interfaceList- Overrides:
hashCodein classWrapperCollections.AbstractWrapperCollection
-
toString
public String toString()
- Overrides:
toStringin classWrapperCollections.AbstractWrapperCollection
-
-