Modul speiger.src.collections
Schnittstelle CharNavigableSet
- Alle Superschnittstellen:
CharCollection,CharIterable,CharSet,CharSortedSet,Collection<Character>,ISizeProvider,Iterable<Character>,NavigableSet<Character>,Set<Character>,SortedSet<Character>
- Alle bekannten Implementierungsklassen:
CharAVLTreeSet,CharRBTreeSet
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 TypMethodeBeschreibungcharceiling(char key) A Type Specific ceiling method to reduce boxing/unboxing.default CharacterVeraltet.copy()A Function that does a shallow clone of the Collection itself.default Characterfirst()Veraltet.charfloor(char key) A Type Specific floor method to reduce boxing/unboxing.default CharacterVeraltet.charA Helper method to get the max value for SubSets.charA Helper method to get the min value for SubSets.default CharNavigableSetheadSet(char toElement) A Type Specific HeadSet method to reduce boxing/unboxingheadSet(char toElement, boolean inclusive) A Type Specific HeadSet method to reduce boxing/unboxingdefault CharSortedSetVeraltet.default CharNavigableSetVeraltet.charhigher(char key) A Type Specific higher method to reduce boxing/unboxing.default CharacterVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingdefault Characterlast()Veraltet.charlower(char key) A Type Specific lower method to reduce boxing/unboxing.default CharacterVeraltet.default CharacterVeraltet.default CharacterpollLast()Veraltet.voidsetDefaultMaxValue(char e) A Helper method to set the max value for SubSets.voidsetDefaultMinValue(char e) A Helper method to set the min value for SubSets.default CharSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(char fromElement, boolean fromInclusive, char toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxingdefault CharNavigableSetsubSet(char fromElement, char toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault CharNavigableSetVeraltet.default CharSortedSetVeraltet.default CharNavigableSetCreates a Wrapped NavigableSet that is Synchronizeddefault CharNavigableSetsynchronize(Object mutex) Creates a Wrapped NavigableSet that is Synchronizeddefault CharNavigableSettailSet(char fromElement) A Type Specific TailSet method to reduce boxing/unboxingtailSet(char fromElement, boolean inclusive) A Type Specific TailSet method to reduce boxing/unboxingdefault CharSortedSetVeraltet.default CharNavigableSetVeraltet.default CharNavigableSetCreates a Wrapped NavigableSet that is unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.chars.collections.CharCollection
add, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toCharArray, toCharArrayVon Schnittstelle geerbte Methoden speiger.src.collections.chars.collections.CharIterable
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.chars.sets.CharSet
add, contains, remChar, remove, removeVon Schnittstelle geerbte Methoden speiger.src.collections.chars.sets.CharSortedSet
comparator, firstChar, iterator, lastChar, pollFirstChar, pollLastCharVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
size
-
Methodendetails
-
lower
char lower(char 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
char higher(char 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
char floor(char 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
char ceiling(char 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(char e) A Helper method to set the max value for SubSets. (Default: char.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
char getDefaultMaxValue()A Helper method to get the max value for SubSets.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(char e) A Helper method to set the min value for SubSets. (Default: char.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
char getDefaultMinValue()A Helper method to get the min value for SubSets.- Gibt zurück:
- the default min value.
-
subSet
Beschreibung aus Schnittstelle kopiert:CharSortedSetA Type Specific SubSet method to reduce boxing/unboxing- Angegeben von:
subSetin SchnittstelleCharSortedSet- 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:CharSortedSetA Type Specific HeadSet method to reduce boxing/unboxing- Angegeben von:
headSetin SchnittstelleCharSortedSet- 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:CharSortedSetA Type Specific TailSet method to reduce boxing/unboxing- Angegeben von:
tailSetin SchnittstelleCharSortedSet- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
-
subSet
CharNavigableSet subSet(char fromElement, boolean fromInclusive, char 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
CharBidirectionalIterator iterator()Beschreibung aus Schnittstelle kopiert:CharCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCharCollection- Angegeben von:
iteratorin SchnittstelleCharIterable- Angegeben von:
iteratorin SchnittstelleCharSet- Angegeben von:
iteratorin SchnittstelleCharSortedSet- Angegeben von:
iteratorin SchnittstelleCollection<Character>- Angegeben von:
iteratorin SchnittstelleIterable<Character>- Angegeben von:
iteratorin SchnittstelleNavigableSet<Character>- Angegeben von:
iteratorin SchnittstelleSet<Character>- Gibt zurück:
- a Type Specific iterator
- Siehe auch:
-
descendingIterator
CharBidirectionalIterator descendingIterator()- Angegeben von:
descendingIteratorin SchnittstelleNavigableSet<Character>- Gibt zurück:
- a Type Specific desendingIterator
-
descendingSet
CharNavigableSet descendingSet()- Angegeben von:
descendingSetin SchnittstelleNavigableSet<Character>- Gibt zurück:
- a Type Specific desendingSet
-
copy
CharNavigableSet copy()Beschreibung aus Schnittstelle kopiert:CharCollectionA 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 SchnittstelleCharCollection- Angegeben von:
copyin SchnittstelleCharSet- Angegeben von:
copyin SchnittstelleCharSortedSet- Gibt zurück:
- a Shallow Copy of the collection
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleCharCollection- Angegeben von:
synchronizein SchnittstelleCharSet- Angegeben von:
synchronizein SchnittstelleCharSortedSet- Gibt zurück:
- a new NavigableSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleCharCollection- Angegeben von:
synchronizein SchnittstelleCharSet- Angegeben von:
synchronizein SchnittstelleCharSortedSet- 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 SchnittstelleCharCollection- Angegeben von:
unmodifiablein SchnittstelleCharSet- Angegeben von:
unmodifiablein SchnittstelleCharSortedSet- 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 SchnittstelleCharCollection- Angegeben von:
spliteratorin SchnittstelleCharIterable- Angegeben von:
spliteratorin SchnittstelleCharSet- Angegeben von:
spliteratorin SchnittstelleCharSortedSet- Angegeben von:
spliteratorin SchnittstelleCollection<Character>- Angegeben von:
spliteratorin SchnittstelleIterable<Character>- Angegeben von:
spliteratorin SchnittstelleSet<Character>- Angegeben von:
spliteratorin SchnittstelleSortedSet<Character>- Gibt zurück:
- type specific splititerator
-
lower
Veraltet.- Angegeben von:
lowerin SchnittstelleNavigableSet<Character>
-
floor
Veraltet.- Angegeben von:
floorin SchnittstelleNavigableSet<Character>
-
ceiling
Veraltet.- Angegeben von:
ceilingin SchnittstelleNavigableSet<Character>
-
higher
Veraltet.- Angegeben von:
higherin SchnittstelleNavigableSet<Character>
-
first
Veraltet.- Angegeben von:
firstin SchnittstelleCharSortedSet- Angegeben von:
firstin SchnittstelleSortedSet<Character>
-
last
Veraltet.- Angegeben von:
lastin SchnittstelleCharSortedSet- Angegeben von:
lastin SchnittstelleSortedSet<Character>
-
pollFirst
Veraltet.- Angegeben von:
pollFirstin SchnittstelleNavigableSet<Character>
-
pollLast
Veraltet.- Angegeben von:
pollLastin SchnittstelleNavigableSet<Character>
-
subSet
@Deprecated default CharNavigableSet subSet(Character fromElement, boolean fromInclusive, Character toElement, boolean toInclusive) Veraltet.- Angegeben von:
subSetin SchnittstelleNavigableSet<Character>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleNavigableSet<Character>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleNavigableSet<Character>
-
subSet
Veraltet.- Angegeben von:
subSetin SchnittstelleCharSortedSet- Angegeben von:
subSetin SchnittstelleNavigableSet<Character>- Angegeben von:
subSetin SchnittstelleSortedSet<Character>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleCharSortedSet- Angegeben von:
headSetin SchnittstelleNavigableSet<Character>- Angegeben von:
headSetin SchnittstelleSortedSet<Character>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleCharSortedSet- Angegeben von:
tailSetin SchnittstelleNavigableSet<Character>- Angegeben von:
tailSetin SchnittstelleSortedSet<Character>
-