Modul speiger.src.collections
Schnittstelle DoubleNavigableSet
- Alle Superschnittstellen:
Collection<Double>,DoubleCollection,DoubleIterable,DoubleSet,DoubleSortedSet,ISizeProvider,Iterable<Double>,NavigableSet<Double>,Set<Double>,SortedSet<Double>
- Alle bekannten Implementierungsklassen:
DoubleAVLTreeSet,DoubleRBTreeSet
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 TypMethodeBeschreibungdoubleceiling(double key) A Type Specific ceiling method to reduce boxing/unboxing.default DoubleVeraltet.copy()A Function that does a shallow clone of the Collection itself.default Doublefirst()Veraltet.doublefloor(double key) A Type Specific floor method to reduce boxing/unboxing.default DoubleVeraltet.doubleA Helper method to get the max value for SubSets.doubleA Helper method to get the min value for SubSets.default DoubleNavigableSetheadSet(double toElement) A Type Specific HeadSet method to reduce boxing/unboxingheadSet(double toElement, boolean inclusive) A Type Specific HeadSet method to reduce boxing/unboxingdefault DoubleSortedSetVeraltet.default DoubleNavigableSetVeraltet.doublehigher(double key) A Type Specific higher method to reduce boxing/unboxing.default DoubleVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingdefault Doublelast()Veraltet.doublelower(double key) A Type Specific lower method to reduce boxing/unboxing.default DoubleVeraltet.default DoubleVeraltet.default DoublepollLast()Veraltet.voidsetDefaultMaxValue(double e) A Helper method to set the max value for SubSets.voidsetDefaultMinValue(double e) A Helper method to set the min value for SubSets.default DoubleSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(double fromElement, boolean fromInclusive, double toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxingdefault DoubleNavigableSetsubSet(double fromElement, double toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault DoubleNavigableSetVeraltet.default DoubleSortedSetVeraltet.default DoubleNavigableSetCreates a Wrapped NavigableSet that is Synchronizeddefault DoubleNavigableSetsynchronize(Object mutex) Creates a Wrapped NavigableSet that is Synchronizeddefault DoubleNavigableSettailSet(double fromElement) A Type Specific TailSet method to reduce boxing/unboxingtailSet(double fromElement, boolean inclusive) A Type Specific TailSet method to reduce boxing/unboxingdefault DoubleSortedSetVeraltet.default DoubleNavigableSetVeraltet.default DoubleNavigableSetCreates a Wrapped NavigableSet that is unmodifiableVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.collections.DoubleCollection
add, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toDoubleArray, toDoubleArrayVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.collections.DoubleIterable
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.doubles.sets.DoubleSet
add, contains, remDouble, remove, removeVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.sets.DoubleSortedSet
comparator, firstDouble, iterator, lastDouble, pollFirstDouble, pollLastDoubleVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
size
-
Methodendetails
-
lower
double lower(double 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
double higher(double 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
double floor(double 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
double ceiling(double 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(double e) A Helper method to set the max value for SubSets. (Default: double.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
double getDefaultMaxValue()A Helper method to get the max value for SubSets.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(double e) A Helper method to set the min value for SubSets. (Default: double.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
double getDefaultMinValue()A Helper method to get the min value for SubSets.- Gibt zurück:
- the default min value.
-
subSet
Beschreibung aus Schnittstelle kopiert:DoubleSortedSetA Type Specific SubSet method to reduce boxing/unboxing- Angegeben von:
subSetin SchnittstelleDoubleSortedSet- 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:DoubleSortedSetA Type Specific HeadSet method to reduce boxing/unboxing- Angegeben von:
headSetin SchnittstelleDoubleSortedSet- 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:DoubleSortedSetA Type Specific TailSet method to reduce boxing/unboxing- Angegeben von:
tailSetin SchnittstelleDoubleSortedSet- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
-
subSet
DoubleNavigableSet subSet(double fromElement, boolean fromInclusive, double 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
DoubleBidirectionalIterator iterator()Beschreibung aus Schnittstelle kopiert:DoubleCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<Double>- Angegeben von:
iteratorin SchnittstelleDoubleCollection- Angegeben von:
iteratorin SchnittstelleDoubleIterable- Angegeben von:
iteratorin SchnittstelleDoubleSet- Angegeben von:
iteratorin SchnittstelleDoubleSortedSet- Angegeben von:
iteratorin SchnittstelleIterable<Double>- Angegeben von:
iteratorin SchnittstelleNavigableSet<Double>- Angegeben von:
iteratorin SchnittstelleSet<Double>- Gibt zurück:
- a Type Specific iterator
- Siehe auch:
-
descendingIterator
DoubleBidirectionalIterator descendingIterator()- Angegeben von:
descendingIteratorin SchnittstelleNavigableSet<Double>- Gibt zurück:
- a Type Specific desendingIterator
-
descendingSet
DoubleNavigableSet descendingSet()- Angegeben von:
descendingSetin SchnittstelleNavigableSet<Double>- Gibt zurück:
- a Type Specific desendingSet
-
copy
DoubleNavigableSet copy()Beschreibung aus Schnittstelle kopiert:DoubleCollectionA 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 SchnittstelleDoubleCollection- Angegeben von:
copyin SchnittstelleDoubleSet- Angegeben von:
copyin SchnittstelleDoubleSortedSet- Gibt zurück:
- a Shallow Copy of the collection
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleDoubleCollection- Angegeben von:
synchronizein SchnittstelleDoubleSet- Angegeben von:
synchronizein SchnittstelleDoubleSortedSet- Gibt zurück:
- a new NavigableSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleDoubleCollection- Angegeben von:
synchronizein SchnittstelleDoubleSet- Angegeben von:
synchronizein SchnittstelleDoubleSortedSet- 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 SchnittstelleDoubleCollection- Angegeben von:
unmodifiablein SchnittstelleDoubleSet- Angegeben von:
unmodifiablein SchnittstelleDoubleSortedSet- 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<Double>- Angegeben von:
spliteratorin SchnittstelleDoubleCollection- Angegeben von:
spliteratorin SchnittstelleDoubleIterable- Angegeben von:
spliteratorin SchnittstelleDoubleSet- Angegeben von:
spliteratorin SchnittstelleDoubleSortedSet- Angegeben von:
spliteratorin SchnittstelleIterable<Double>- Angegeben von:
spliteratorin SchnittstelleSet<Double>- Angegeben von:
spliteratorin SchnittstelleSortedSet<Double>- Gibt zurück:
- type specific splititerator
-
lower
Veraltet.- Angegeben von:
lowerin SchnittstelleNavigableSet<Double>
-
floor
Veraltet.- Angegeben von:
floorin SchnittstelleNavigableSet<Double>
-
ceiling
Veraltet.- Angegeben von:
ceilingin SchnittstelleNavigableSet<Double>
-
higher
Veraltet.- Angegeben von:
higherin SchnittstelleNavigableSet<Double>
-
first
Veraltet.- Angegeben von:
firstin SchnittstelleDoubleSortedSet- Angegeben von:
firstin SchnittstelleSortedSet<Double>
-
last
Veraltet.- Angegeben von:
lastin SchnittstelleDoubleSortedSet- Angegeben von:
lastin SchnittstelleSortedSet<Double>
-
pollFirst
Veraltet.- Angegeben von:
pollFirstin SchnittstelleNavigableSet<Double>
-
pollLast
Veraltet.- Angegeben von:
pollLastin SchnittstelleNavigableSet<Double>
-
subSet
@Deprecated default DoubleNavigableSet subSet(Double fromElement, boolean fromInclusive, Double toElement, boolean toInclusive) Veraltet.- Angegeben von:
subSetin SchnittstelleNavigableSet<Double>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleNavigableSet<Double>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleNavigableSet<Double>
-
subSet
Veraltet.- Angegeben von:
subSetin SchnittstelleDoubleSortedSet- Angegeben von:
subSetin SchnittstelleNavigableSet<Double>- Angegeben von:
subSetin SchnittstelleSortedSet<Double>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleDoubleSortedSet- Angegeben von:
headSetin SchnittstelleNavigableSet<Double>- Angegeben von:
headSetin SchnittstelleSortedSet<Double>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleDoubleSortedSet- Angegeben von:
tailSetin SchnittstelleNavigableSet<Double>- Angegeben von:
tailSetin SchnittstelleSortedSet<Double>
-