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- Author:
- cp 2001.10.09
- See Also:
-
Field Summary
Fields inherited from class WrapperCollections.AbstractWrapperCollection
m_colDelegate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedListView()Create a ListView over this ImmutableArrayList. -
Method Summary
Methods inherited from class WrapperCollections.AbstractWrapperList
add, addAll, get, getDelegate, indexOf, lastIndexOf, listIterator, listIterator, remove, replaceAll, set, sort, subListMethods inherited from class WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ListView
protected ListView()Create a ListView over this ImmutableArrayList.
-
-
Method Details
-
equals
- 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
- Overrides:
toStringin classWrapperCollections.AbstractWrapperCollection
-