Class ConverterCollections.ConverterSortedSet<F,T>
java.lang.Object
com.tangosol.util.ConverterCollections.ConverterCollection<F,T>
com.tangosol.util.ConverterCollections.ConverterSet<F,T>
com.tangosol.util.ConverterCollections.ConverterSortedSet<F,T>
- Type Parameters:
F- the type of elements in the underlying SortedSetT- the type that the elements should be converted to
- All Implemented Interfaces:
com.tangosol.internal.tracing.TracingAware, Serializable, Iterable<T>, Collection<T>, SequencedCollection<T>, SequencedSet<T>, Set<T>, SortedSet<T>
- Enclosing class:
ConverterCollections
public static class ConverterCollections.ConverterSortedSet<F,T>
extends ConverterCollections.ConverterSet<F,T>
implements SortedSet<T>, Serializable
A Converter SortedSet views an underlying SortedSet through a
Converter.
- Author:
- cp 2002.02.08, jh 2007.09.28
- See Also:
-
Field Summary
Fields inherited from class ConverterCollections.ConverterCollection
m_col, m_convDown, m_convUp, m_spanParent, m_sSpanName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ConverterCollections.ConverterSet
equals, hashCodeMethods inherited from class ConverterCollections.ConverterCollection
add, addAll, clear, contains, containsAll, getCollection, getConverterDown, getConverterUp, instantiateCollection, instantiateIterator, invalidate, isEmpty, iterator, remove, removeAll, retainAll, setParentSpan, size, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Constructor Details
-
ConverterSortedSet
-
-
Method Details
-
comparator
- Specified by:
comparatorin interfaceSortedSet<F>
-
subSet
-
headSet
-
tailSet
-
first
-
last
-
instantiateSortedSet
protected SortedSet<T> instantiateSortedSet(SortedSet<F> set, Converter<F, T> convUp, Converter<T, F> convDown) Create a Converter SortedSet.- Parameters:
set- the underlying SortedSetconvUp- the Converter to view the underlying SortedSet throughconvDown- the Converter to pass items down to the underlying SortedSet through- Returns:
- a Converter SortedSet
-
getSortedSet
-