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
protected class ImmutableArrayList.SetView extends WrapperCollections.AbstractWrapperSet
SetView exposes the underlying ImmutableArrayList through theSet
interface, 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 protected
SetView()
Create a SetView over this ImmutableArrayList.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
String
toString()
-
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperSet
getDelegate
-
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:
equals
in interfaceCollection
- Specified by:
equals
in interfaceSet
- Overrides:
equals
in classWrapperCollections.AbstractWrapperCollection
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection
- Specified by:
hashCode
in interfaceSet
- Overrides:
hashCode
in classWrapperCollections.AbstractWrapperCollection
-
toString
public String toString()
- Overrides:
toString
in classWrapperCollections.AbstractWrapperCollection
-
-