Modul speiger.src.collections
Schnittstelle Char2BooleanSortedMap
- Alle Superschnittstellen:
Char2BooleanMap,CharPredicate,Map<Character,,Boolean> SortedMap<Character,Boolean>
- Alle bekannten Unterschnittstellen:
Char2BooleanNavigableMap
- Alle bekannten Implementierungsklassen:
Char2BooleanAVLTreeMap,Char2BooleanMaps.SynchronizedNavigableMap,Char2BooleanMaps.SynchronizedSortedMap,Char2BooleanMaps.UnmodifyableNavigableMap,Char2BooleanMaps.UnmodifyableSortedMap,Char2BooleanRBTreeMap
A Type Specific
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.- Note:
- Char2BooleanOrderedMap is only extended until 0.6.0 for Compat reasons. The supported classes already implement Char2BooleanOrderedMap directly and will remove Char2BooleanSortedMap implementations in favor of Char2BooleanOrderedMap instead
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interfaceFast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal valueVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.chars.maps.interfaces.Char2BooleanMap
Char2BooleanMap.BuilderCache, Char2BooleanMap.Entry, Char2BooleanMap.FastEntrySet, Char2BooleanMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.booleanA method to get the first Value of a Map.charA method to get the first Key of a Map.default CharacterfirstKey()Veraltet.headMap(char toKey) A Type Specific HeadMap method to reduce boxing/unboxingdefault Char2BooleanSortedMapVeraltet.keySet()booleanA method to get the last Value of a Map.charA method to get the last Key of a Map.default CharacterlastKey()Veraltet.charA method to get and remove the first Key of a Map.charA method to get and remove the last Key of a Map.subMap(char fromKey, char toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Char2BooleanSortedMapVeraltet.default Char2BooleanSortedMapCreates a Wrapped SortedMap that is Synchronizeddefault Char2BooleanSortedMapsynchronize(Object mutex) Creates a Wrapped SortedMap that is SynchronizedtailMap(char fromKey) A Type Specific TailMap method to reduce boxing/unboxingdefault Char2BooleanSortedMapVeraltet.default Char2BooleanSortedMapCreates a Wrapped SortedMap that is unmodifiablevalues()Von Schnittstelle geerbte Methoden speiger.src.collections.chars.maps.interfaces.Char2BooleanMap
char2BooleanEntrySet, compute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfAbsentNonDefault, computeBooleanIfPresent, computeBooleanIfPresentNonDefault, computeBooleanNonDefault, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllBoolean, mergeBoolean, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValue, supplyBooleanIfAbsent, supplyBooleanIfAbsentNonDefault, testVon Schnittstelle geerbte Methoden speiger.src.collections.chars.functions.function.CharPredicate
andType, negate, orType
-
Methodendetails
-
comparator
CharComparator comparator()- Angegeben von:
comparatorin SchnittstelleSortedMap<Character,Boolean>
-
copy
Char2BooleanSortedMap copy()Beschreibung aus Schnittstelle kopiert:Char2BooleanMapA Function that does a shallow clone of the Map itself. This function is more optimized then a copy constructor since the Map does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk- Angegeben von:
copyin SchnittstelleChar2BooleanMap- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
CharSortedSet keySet() -
values
BooleanCollection values() -
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleChar2BooleanMap- Gibt zurück:
- a new SortedMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleChar2BooleanMap- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new SortedMap Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped SortedMap that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleChar2BooleanMap- Gibt zurück:
- a new SortedMap Wrapper that is unmodifiable
- Siehe auch:
-
subMap
A Type Specific SubMap method to reduce boxing/unboxing- Parameter:
fromKey- where the submap should starttoKey- where the subMap should end- Gibt zurück:
- a SubMap that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
headMap
A Type Specific HeadMap method to reduce boxing/unboxing- Parameter:
toKey- where the headMap should end- Gibt zurück:
- a HeadMap that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
tailMap
A Type Specific TailMap method to reduce boxing/unboxing- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
firstCharKey
char firstCharKey()A method to get the first Key of a Map.- Gibt zurück:
- the first key in the map
-
pollFirstCharKey
char pollFirstCharKey()A method to get and remove the first Key of a Map.- Gibt zurück:
- the first key in the map
-
lastCharKey
char lastCharKey()A method to get the last Key of a Map.- Gibt zurück:
- the last key in the map
-
pollLastCharKey
char pollLastCharKey()A method to get and remove the last Key of a Map.- Gibt zurück:
- the last key in the map
-
firstBooleanValue
boolean firstBooleanValue()A method to get the first Value of a Map.- Gibt zurück:
- the first key in the map
-
lastBooleanValue
boolean lastBooleanValue()A method to get the last Value of a Map.- Gibt zurück:
- the last key in the map
-
firstKey
Veraltet. -
lastKey
Veraltet. -
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-