Package com.tangosol.util
Class WrapperCollections.AbstractWrapperSortedSet<E>
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection<E>
com.tangosol.util.WrapperCollections.AbstractWrapperSet<E>
com.tangosol.util.WrapperCollections.AbstractWrapperSortedSet<E>
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,SequencedCollection<E>,SequencedSet<E>,Set<E>,SortedSet<E>
- Direct Known Subclasses:
ImmutableArrayList.SortedSetView
- Enclosing class:
WrapperCollections
public abstract static class WrapperCollections.AbstractWrapperSortedSet<E>
extends WrapperCollections.AbstractWrapperSet<E>
implements SortedSet<E>
SortedSet implementation which delegates all calls to another SortedSet.
- See Also:
-
Field Summary
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructorprotectedCreate an AbstractWrapperSortedSet which delegates to the specified SortedSet. -
Method Summary
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Constructor Details
-
AbstractWrapperSortedSet
protected AbstractWrapperSortedSet()Default constructor -
AbstractWrapperSortedSet
Create an AbstractWrapperSortedSet which delegates to the specified SortedSet.- Parameters:
set- the SortedSet to delegate all calls to
-
-
Method Details
-
getDelegate
Return the SortedSet to which all operations should be delegated to.- Overrides:
getDelegatein classWrapperCollections.AbstractWrapperSet<E>- Returns:
- the wrapped Set
-
comparator
- Specified by:
comparatorin interfaceSortedSet<E>
-
subSet
-
headSet
-
tailSet
-
first
-
last
-