Modul speiger.src.collections
Schnittstelle ObjectSortedSet<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
Collection<T>,ISizeProvider,Iterable<T>,ObjectCollection<T>,ObjectIterable<T>,ObjectSet<T>,Set<T>,SortedSet<T>
- Alle bekannten Unterschnittstellen:
Byte2BooleanSortedMap.FastSortedSet,Byte2ByteSortedMap.FastSortedSet,Byte2CharSortedMap.FastSortedSet,Byte2DoubleSortedMap.FastSortedSet,Byte2FloatSortedMap.FastSortedSet,Byte2IntSortedMap.FastSortedSet,Byte2LongSortedMap.FastSortedSet,Byte2ObjectSortedMap.FastSortedSet<V>,Byte2ShortSortedMap.FastSortedSet,Char2BooleanSortedMap.FastSortedSet,Char2ByteSortedMap.FastSortedSet,Char2CharSortedMap.FastSortedSet,Char2DoubleSortedMap.FastSortedSet,Char2FloatSortedMap.FastSortedSet,Char2IntSortedMap.FastSortedSet,Char2LongSortedMap.FastSortedSet,Char2ObjectSortedMap.FastSortedSet<V>,Char2ShortSortedMap.FastSortedSet,Double2BooleanSortedMap.FastSortedSet,Double2ByteSortedMap.FastSortedSet,Double2CharSortedMap.FastSortedSet,Double2DoubleSortedMap.FastSortedSet,Double2FloatSortedMap.FastSortedSet,Double2IntSortedMap.FastSortedSet,Double2LongSortedMap.FastSortedSet,Double2ObjectSortedMap.FastSortedSet<V>,Double2ShortSortedMap.FastSortedSet,Float2BooleanSortedMap.FastSortedSet,Float2ByteSortedMap.FastSortedSet,Float2CharSortedMap.FastSortedSet,Float2DoubleSortedMap.FastSortedSet,Float2FloatSortedMap.FastSortedSet,Float2IntSortedMap.FastSortedSet,Float2LongSortedMap.FastSortedSet,Float2ObjectSortedMap.FastSortedSet<V>,Float2ShortSortedMap.FastSortedSet,Int2BooleanSortedMap.FastSortedSet,Int2ByteSortedMap.FastSortedSet,Int2CharSortedMap.FastSortedSet,Int2DoubleSortedMap.FastSortedSet,Int2FloatSortedMap.FastSortedSet,Int2IntSortedMap.FastSortedSet,Int2LongSortedMap.FastSortedSet,Int2ObjectSortedMap.FastSortedSet<V>,Int2ShortSortedMap.FastSortedSet,Long2BooleanSortedMap.FastSortedSet,Long2ByteSortedMap.FastSortedSet,Long2CharSortedMap.FastSortedSet,Long2DoubleSortedMap.FastSortedSet,Long2FloatSortedMap.FastSortedSet,Long2IntSortedMap.FastSortedSet,Long2LongSortedMap.FastSortedSet,Long2ObjectSortedMap.FastSortedSet<V>,Long2ShortSortedMap.FastSortedSet,Object2BooleanSortedMap.FastSortedSet<T>,Object2ByteSortedMap.FastSortedSet<T>,Object2CharSortedMap.FastSortedSet<T>,Object2DoubleSortedMap.FastSortedSet<T>,Object2FloatSortedMap.FastSortedSet<T>,Object2IntSortedMap.FastSortedSet<T>,Object2LongSortedMap.FastSortedSet<T>,Object2ObjectSortedMap.FastSortedSet<T,,V> Object2ShortSortedMap.FastSortedSet<T>,ObjectNavigableSet<T>,Short2BooleanSortedMap.FastSortedSet,Short2ByteSortedMap.FastSortedSet,Short2CharSortedMap.FastSortedSet,Short2DoubleSortedMap.FastSortedSet,Short2FloatSortedMap.FastSortedSet,Short2IntSortedMap.FastSortedSet,Short2LongSortedMap.FastSortedSet,Short2ObjectSortedMap.FastSortedSet<V>,Short2ShortSortedMap.FastSortedSet
- Alle bekannten Implementierungsklassen:
ObjectAVLTreeSet,ObjectRBTreeSet
A Type Specific SortedSet implementation to reduce boxing/unboxing
with a couple extra methods that allow greater control over sets.
- Note:
- ObjectOrderedSet is only extended until 0.6.0 for Compat reasons. The supported classes already implement ObjectOrderedSet directly and will remove ObjectSortedSet implementations in favor of ObjectOrderedSet instead
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungA Type Specific Comparator methodcopy()A Function that does a shallow clone of the Collection itself.iterator()Returns a Type-Specific Iterator to reduce (un)boxingA type Specific Iterator starting from a given keyA method to get and remove the first element in the setpollLast()A method to get and remove the last element in the setdefault ObjectSplititerator<T>A Type Specific Type Splititerator to reduce boxing/unboxingdefault ObjectSortedSet<T>Creates a Wrapped SortedSet that is Synchronizeddefault ObjectSortedSet<T>synchronize(Object mutex) Creates a Wrapped SortedSet that is Synchronizeddefault ObjectSortedSet<T>Creates a Wrapped SortedSet that is unmodifiableVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, removeIf, streamVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
sizeVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectCollection
addAll, addAll, addAll, addAll, containsAll, containsAny, containsAny, pour, removeAll, removeAll, retainAll, retainAll, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectIterable
arrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEachIndexed, limit, map, mapToBoolean, mapToByte, mapToDouble, mapToFloat, mapToInt, mapToLong, mapToShort, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sorted
-
Methodendetails
-
comparator
Comparator<T> comparator()A Type Specific Comparator method- Angegeben von:
comparatorin SchnittstelleSortedSet<T>- Gibt zurück:
- the type specific comparator
-
copy
ObjectSortedSet<T> copy()Beschreibung aus Schnittstelle kopiert:ObjectCollectionA Function that does a shallow clone of the Collection itself. This function is more optimized then a copy constructor since the Collection does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk -
iterator
ObjectBidirectionalIterator<T> iterator()Beschreibung aus Schnittstelle kopiert:ObjectCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<T>- Angegeben von:
iteratorin SchnittstelleIterable<T>- Angegeben von:
iteratorin SchnittstelleObjectCollection<T>- Angegeben von:
iteratorin SchnittstelleObjectIterable<T>- Angegeben von:
iteratorin SchnittstelleObjectSet<T>- Angegeben von:
iteratorin SchnittstelleSet<T>- Gibt zurück:
- a iterator of the collection
- Siehe auch:
-
iterator
A type Specific Iterator starting from a given key- Parameter:
fromElement- the element the iterator should start from- Gibt zurück:
- a iterator starting from the given element
- Löst aus:
NoSuchElementException- if fromElement isn't found
-
synchronize
Creates a Wrapped SortedSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleObjectCollection<T>- Angegeben von:
synchronizein SchnittstelleObjectSet<T>- Gibt zurück:
- a new SortedSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleObjectCollection<T>- Angegeben von:
synchronizein SchnittstelleObjectSet<T>- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new SortedSet Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped SortedSet that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleObjectCollection<T>- Angegeben von:
unmodifiablein SchnittstelleObjectSet<T>- Gibt zurück:
- a new SortedSet Wrapper that is unmodifiable
- Siehe auch:
-
spliterator
A Type Specific Type Splititerator to reduce boxing/unboxing- Angegeben von:
spliteratorin SchnittstelleCollection<T>- Angegeben von:
spliteratorin SchnittstelleIterable<T>- Angegeben von:
spliteratorin SchnittstelleObjectCollection<T>- Angegeben von:
spliteratorin SchnittstelleObjectIterable<T>- Angegeben von:
spliteratorin SchnittstelleObjectSet<T>- Angegeben von:
spliteratorin SchnittstelleSet<T>- Angegeben von:
spliteratorin SchnittstelleSortedSet<T>- Gibt zurück:
- type specific splititerator
-
pollFirst
T pollFirst()A method to get and remove the first element in the set- Gibt zurück:
- first element in the set
-
pollLast
T pollLast()A method to get and remove the last element in the set- Gibt zurück:
- last element in the set
-
subSet
-
headSet
-
tailSet
-