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>
,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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractWrapperSortedSet()
Default constructorprotected
AbstractWrapperSortedSet(SortedSet<E> set)
Create an AbstractWrapperSortedSet which delegates to the specified SortedSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<? super E>
comparator()
E
first()
protected SortedSet<E>
getDelegate()
Return the SortedSet to which all operations should be delegated to.SortedSet<E>
headSet(E oTo)
E
last()
SortedSet<E>
subSet(E oFrom, E oTo)
SortedSet<E>
tailSet(E oFrom)
-
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, toString
-
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, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from interface java.util.SortedSet
spliterator
-
-
-
-
Method Detail
-
getDelegate
protected SortedSet<E> getDelegate()
Return the SortedSet to which all operations should be delegated to.- Overrides:
getDelegate
in classWrapperCollections.AbstractWrapperSet<E>
- Returns:
- the wrapped Set
-
comparator
public Comparator<? super E> comparator()
- Specified by:
comparator
in interfaceSortedSet<E>
-
-