T - the keyType of elements maintained by this Collectionpublic interface ObjectSortedSet<T> extends ObjectSet<T>, java.util.SortedSet<T>
ISizeProvider.CollectionSize| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator()
A Type Specific Comparator method
|
ObjectSortedSet<T> |
copy()
A Function that does a shallow clone of the Collection itself.
|
ObjectSortedSet<T> |
headSet(T toElement) |
ObjectBidirectionalIterator<T> |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
ObjectBidirectionalIterator<T> |
iterator(T fromElement)
A type Specific Iterator starting from a given key
|
T |
pollFirst()
A method to get and remove the first element in the set
|
T |
pollLast()
A method to get and remove the last element in the set
|
default ObjectSplititerator<T> |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
ObjectSortedSet<T> |
subSet(T fromElement,
T toElement) |
default ObjectSortedSet<T> |
synchronize()
Creates a Wrapped SortedSet that is Synchronized
|
default ObjectSortedSet<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedSet that is Synchronized
|
ObjectSortedSet<T> |
tailSet(T fromElement) |
default ObjectSortedSet<T> |
unmodifiable()
Creates a Wrapped SortedSet that is unmodifiable
|
addAll, addAll, addAll, addAll, containsAll, containsAny, containsAny, pour, removeAll, removeAll, retainAll, retainAll, toArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedof, sizejava.util.Comparator<T> comparator()
comparator in interface java.util.SortedSet<T>ObjectSortedSet<T> copy()
ObjectCollectionObjectBidirectionalIterator<T> iterator()
ObjectCollectioniterator in interface java.util.Collection<T>iterator in interface java.lang.Iterable<T>iterator in interface ObjectCollection<T>iterator in interface ObjectIterable<T>iterator in interface ObjectSet<T>iterator in interface java.util.Set<T>Collection.iterator()ObjectBidirectionalIterator<T> iterator(T fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault ObjectSortedSet<T> synchronize()
synchronize in interface ObjectCollection<T>synchronize in interface ObjectSet<T>ObjectSets.synchronize(speiger.src.collections.objects.sets.ObjectSet<T>)default ObjectSortedSet<T> synchronize(java.lang.Object mutex)
synchronize in interface ObjectCollection<T>synchronize in interface ObjectSet<T>mutex - is the controller of the synchronization blockObjectSets.synchronize(speiger.src.collections.objects.sets.ObjectSet<T>)default ObjectSortedSet<T> unmodifiable()
unmodifiable in interface ObjectCollection<T>unmodifiable in interface ObjectSet<T>ObjectSets.unmodifiable(speiger.src.collections.objects.sets.ObjectSet<T>)default ObjectSplititerator<T> spliterator()
spliterator in interface java.util.Collection<T>spliterator in interface java.lang.Iterable<T>spliterator in interface ObjectCollection<T>spliterator in interface ObjectIterable<T>spliterator in interface ObjectSet<T>spliterator in interface java.util.Set<T>spliterator in interface java.util.SortedSet<T>T pollFirst()
T pollLast()
ObjectSortedSet<T> subSet(T fromElement, T toElement)
subSet in interface java.util.SortedSet<T>ObjectSortedSet<T> headSet(T toElement)
headSet in interface java.util.SortedSet<T>ObjectSortedSet<T> tailSet(T fromElement)
tailSet in interface java.util.SortedSet<T>