Package com.tangosol.util
Class ImmutableArrayList.SortedSetView
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection
com.tangosol.util.WrapperCollections.AbstractWrapperSet
com.tangosol.util.WrapperCollections.AbstractWrapperSortedSet
com.tangosol.util.ImmutableArrayList.SortedSetView
- All Implemented Interfaces:
Serializable
,Iterable
,Collection
,SequencedCollection
,SequencedSet
,Set
,SortedSet
- Enclosing class:
ImmutableArrayList
protected class ImmutableArrayList.SortedSetView
extends WrapperCollections.AbstractWrapperSortedSet
SetView exposes the underlying ImmutableArrayList through the
SortedSet
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
Create a SortedSetView over this ImmutableArrayList. -
Method Summary
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperSortedSet
comparator, first, getDelegate, headSet, last, subSet, tailSet
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
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Constructor Details
-
SortedSetView
protected SortedSetView()Create a SortedSetView over this ImmutableArrayList.
-
-
Method Details
-
equals
- 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
- Overrides:
toString
in classWrapperCollections.AbstractWrapperCollection
-