Modul speiger.src.collections
Schnittstelle LongNavigableSet
- Alle Superschnittstellen:
Collection<Long>,ISizeProvider,Iterable<Long>,LongCollection,LongIterable,LongSet,LongSortedSet,NavigableSet<Long>,Set<Long>,SortedSet<Long>
- Alle bekannten Implementierungsklassen:
LongAVLTreeSet,LongRBTreeSet
A Type Specific Navigable Set interface with a couple helper methods
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglongceiling(long key) A Type Specific ceiling method to reduce boxing/unboxing.default LongVeraltet.copy()A Function that does a shallow clone of the Collection itself.default Longfirst()Veraltet.longfloor(long key) A Type Specific floor method to reduce boxing/unboxing.default LongVeraltet.longA Helper method to get the max value for SubSets.longA Helper method to get the min value for SubSets.default LongNavigableSetheadSet(long toElement) A Type Specific HeadSet method to reduce boxing/unboxingheadSet(long toElement, boolean inclusive) A Type Specific HeadSet method to reduce boxing/unboxingdefault LongSortedSetVeraltet.default LongNavigableSetVeraltet.longhigher(long key) A Type Specific higher method to reduce boxing/unboxing.default LongVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingdefault Longlast()Veraltet.longlower(long key) A Type Specific lower method to reduce boxing/unboxing.default LongVeraltet.default LongVeraltet.default LongpollLast()Veraltet.voidsetDefaultMaxValue(long e) A Helper method to set the max value for SubSets.voidsetDefaultMinValue(long e) A Helper method to set the min value for SubSets.default LongSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(long fromElement, boolean fromInclusive, long toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxingdefault LongNavigableSetsubSet(long fromElement, long toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault LongNavigableSetVeraltet.default LongSortedSetVeraltet.default LongNavigableSetCreates a Wrapped NavigableSet that is Synchronizeddefault LongNavigableSetsynchronize(Object mutex) Creates a Wrapped NavigableSet that is Synchronizeddefault LongNavigableSettailSet(long fromElement) A Type Specific TailSet method to reduce boxing/unboxingtailSet(long fromElement, boolean inclusive) A Type Specific TailSet method to reduce boxing/unboxingdefault LongSortedSetVeraltet.default LongNavigableSetVeraltet.default LongNavigableSetCreates a Wrapped NavigableSet that is unmodifiableVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
sizeVon Schnittstelle geerbte Methoden speiger.src.collections.longs.collections.LongCollection
add, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toLongArray, toLongArrayVon Schnittstelle geerbte Methoden speiger.src.collections.longs.collections.LongIterable
arrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedVon Schnittstelle geerbte Methoden speiger.src.collections.longs.sets.LongSet
add, contains, remLong, remove, removeVon Schnittstelle geerbte Methoden speiger.src.collections.longs.sets.LongSortedSet
comparator, firstLong, iterator, lastLong, pollFirstLong, pollLastLong
-
Methodendetails
-
lower
long lower(long key) A Type Specific lower method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higher
long higher(long key) A Type Specific higher method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floor
long floor(long key) A Type Specific floor method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceiling
long ceiling(long key) A Type Specific ceiling method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
setDefaultMaxValue
void setDefaultMaxValue(long e) A Helper method to set the max value for SubSets. (Default: long.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
long getDefaultMaxValue()A Helper method to get the max value for SubSets.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(long e) A Helper method to set the min value for SubSets. (Default: long.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
long getDefaultMinValue()A Helper method to get the min value for SubSets.- Gibt zurück:
- the default min value.
-
subSet
Beschreibung aus Schnittstelle kopiert:LongSortedSetA Type Specific SubSet method to reduce boxing/unboxing- Angegeben von:
subSetin SchnittstelleLongSortedSet- Parameter:
fromElement- where the SubSet should starttoElement- where the SubSet should end- Gibt zurück:
- a SubSet that is within the range of the desired range
-
headSet
Beschreibung aus Schnittstelle kopiert:LongSortedSetA Type Specific HeadSet method to reduce boxing/unboxing- Angegeben von:
headSetin SchnittstelleLongSortedSet- Parameter:
toElement- where the HeadSet should end- Gibt zurück:
- a HeadSet that is within the range of the desired range
-
tailSet
Beschreibung aus Schnittstelle kopiert:LongSortedSetA Type Specific TailSet method to reduce boxing/unboxing- Angegeben von:
tailSetin SchnittstelleLongSortedSet- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
-
subSet
LongNavigableSet subSet(long fromElement, boolean fromInclusive, long toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxing- Parameter:
fromElement- where the SubSet should startfromInclusive- if the fromElement is inclusive or nottoElement- where the SubSet should endtoInclusive- if the toElement is inclusive or not- Gibt zurück:
- a SubSet that is within the range of the desired range
-
headSet
A Type Specific HeadSet method to reduce boxing/unboxing- Parameter:
toElement- where the HeadSet should endinclusive- if the toElement is inclusive or not- Gibt zurück:
- a HeadSet that is within the range of the desired range
-
tailSet
A Type Specific TailSet method to reduce boxing/unboxing- Parameter:
fromElement- where the TailSet should startinclusive- if the fromElement is inclusive or not- Gibt zurück:
- a TailSet that is within the range of the desired range
-
iterator
LongBidirectionalIterator iterator()Beschreibung aus Schnittstelle kopiert:LongCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<Long>- Angegeben von:
iteratorin SchnittstelleIterable<Long>- Angegeben von:
iteratorin SchnittstelleLongCollection- Angegeben von:
iteratorin SchnittstelleLongIterable- Angegeben von:
iteratorin SchnittstelleLongSet- Angegeben von:
iteratorin SchnittstelleLongSortedSet- Angegeben von:
iteratorin SchnittstelleNavigableSet<Long>- Angegeben von:
iteratorin SchnittstelleSet<Long>- Gibt zurück:
- a Type Specific iterator
- Siehe auch:
-
descendingIterator
LongBidirectionalIterator descendingIterator()- Angegeben von:
descendingIteratorin SchnittstelleNavigableSet<Long>- Gibt zurück:
- a Type Specific desendingIterator
-
descendingSet
LongNavigableSet descendingSet()- Angegeben von:
descendingSetin SchnittstelleNavigableSet<Long>- Gibt zurück:
- a Type Specific desendingSet
-
copy
LongNavigableSet copy()Beschreibung aus Schnittstelle kopiert:LongCollectionA 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- Angegeben von:
copyin SchnittstelleLongCollection- Angegeben von:
copyin SchnittstelleLongSet- Angegeben von:
copyin SchnittstelleLongSortedSet- Gibt zurück:
- a Shallow Copy of the collection
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleLongCollection- Angegeben von:
synchronizein SchnittstelleLongSet- Angegeben von:
synchronizein SchnittstelleLongSortedSet- Gibt zurück:
- a new NavigableSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleLongCollection- Angegeben von:
synchronizein SchnittstelleLongSet- Angegeben von:
synchronizein SchnittstelleLongSortedSet- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new NavigableSet Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped NavigableSet that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleLongCollection- Angegeben von:
unmodifiablein SchnittstelleLongSet- Angegeben von:
unmodifiablein SchnittstelleLongSortedSet- Gibt zurück:
- a new NavigableSet Wrapper that is unmodifiable
- Siehe auch:
-
spliterator
A Type Specific Type Splititerator to reduce boxing/unboxing- Angegeben von:
spliteratorin SchnittstelleCollection<Long>- Angegeben von:
spliteratorin SchnittstelleIterable<Long>- Angegeben von:
spliteratorin SchnittstelleLongCollection- Angegeben von:
spliteratorin SchnittstelleLongIterable- Angegeben von:
spliteratorin SchnittstelleLongSet- Angegeben von:
spliteratorin SchnittstelleLongSortedSet- Angegeben von:
spliteratorin SchnittstelleSet<Long>- Angegeben von:
spliteratorin SchnittstelleSortedSet<Long>- Gibt zurück:
- type specific splititerator
-
lower
Veraltet.- Angegeben von:
lowerin SchnittstelleNavigableSet<Long>
-
floor
Veraltet.- Angegeben von:
floorin SchnittstelleNavigableSet<Long>
-
ceiling
Veraltet.- Angegeben von:
ceilingin SchnittstelleNavigableSet<Long>
-
higher
Veraltet.- Angegeben von:
higherin SchnittstelleNavigableSet<Long>
-
first
Veraltet.- Angegeben von:
firstin SchnittstelleLongSortedSet- Angegeben von:
firstin SchnittstelleSortedSet<Long>
-
last
Veraltet.- Angegeben von:
lastin SchnittstelleLongSortedSet- Angegeben von:
lastin SchnittstelleSortedSet<Long>
-
pollFirst
Veraltet.- Angegeben von:
pollFirstin SchnittstelleNavigableSet<Long>
-
pollLast
Veraltet.- Angegeben von:
pollLastin SchnittstelleNavigableSet<Long>
-
subSet
@Deprecated default LongNavigableSet subSet(Long fromElement, boolean fromInclusive, Long toElement, boolean toInclusive) Veraltet.- Angegeben von:
subSetin SchnittstelleNavigableSet<Long>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleNavigableSet<Long>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleNavigableSet<Long>
-
subSet
Veraltet.- Angegeben von:
subSetin SchnittstelleLongSortedSet- Angegeben von:
subSetin SchnittstelleNavigableSet<Long>- Angegeben von:
subSetin SchnittstelleSortedSet<Long>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleLongSortedSet- Angegeben von:
headSetin SchnittstelleNavigableSet<Long>- Angegeben von:
headSetin SchnittstelleSortedSet<Long>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleLongSortedSet- Angegeben von:
tailSetin SchnittstelleNavigableSet<Long>- Angegeben von:
tailSetin SchnittstelleSortedSet<Long>
-