Package com.tangosol.util
Class ImmutableArrayList.SetView
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection<E>
com.tangosol.util.WrapperCollections.AbstractWrapperSet
com.tangosol.util.ImmutableArrayList.SetView
- All Implemented Interfaces:
Serializable,Iterable,Collection,Set
- Enclosing class:
- ImmutableArrayList
SetView exposes the underlying ImmutableArrayList through the
Set interface, maintaining correct equals() and
hashCode() semantics- See Also:
-
Field Summary
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperSet
getDelegateMethods 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, toArrayMethods 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
-
SetView
protected SetView()Create a SetView over this ImmutableArrayList.
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceCollection- Specified by:
equalsin interfaceSet- Overrides:
equalsin classWrapperCollections.AbstractWrapperCollection
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection- Specified by:
hashCodein interfaceSet- Overrides:
hashCodein classWrapperCollections.AbstractWrapperCollection
-
toString
- Overrides:
toStringin classWrapperCollections.AbstractWrapperCollection
-