Modul speiger.src.collections
Schnittstelle Int2ObjectNavigableMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
Int2ObjectMap<V>,Int2ObjectSortedMap<V>,IntFunction<V>,IntFunction<V>,Map<Integer,,V> NavigableMap<Integer,,V> SortedMap<Integer,V>
- Alle bekannten Implementierungsklassen:
Int2ObjectAVLTreeMap,Int2ObjectMaps.SynchronizedNavigableMap,Int2ObjectMaps.UnmodifyableNavigableMap,Int2ObjectRBTreeMap
A Type Specific Navigable Map interface with a couple helper methods
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.ints.maps.interfaces.Int2ObjectMap
Int2ObjectMap.BuilderCache<V>, Int2ObjectMap.Entry<V>, Int2ObjectMap.FastEntrySet<V>, Int2ObjectMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.ints.maps.interfaces.Int2ObjectSortedMap
Int2ObjectSortedMap.FastSortedSet<V> -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungceilingEntry(int key) A Type Specific ceilingEntry method to reduce boxing/unboxing.default Int2ObjectMap.Entry<V>ceilingEntry(Integer key) Veraltet.intceilingKey(int key) A Type Specific ceilingKey method to reduce boxing/unboxing.default IntegerceilingKey(Integer key) Veraltet.copy()A Function that does a shallow clone of the Map itself.floorEntry(int key) A Type Specific floorEntry method to reduce boxing/unboxing.default Int2ObjectMap.Entry<V>floorEntry(Integer key) Veraltet.intfloorKey(int key) A Type Specific floorKey method to reduce boxing/unboxing.default IntegerVeraltet.intA Helper method to get the max value for SubMaps.intA Helper method to get the min value for SubMaps.default Int2ObjectNavigableMap<V>headMap(int toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(int toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxingdefault Int2ObjectNavigableMap<V>Veraltet.default Int2ObjectNavigableMap<V>Veraltet.higherEntry(int key) A Type Specific higherEntry method to reduce boxing/unboxing.default Int2ObjectMap.Entry<V>higherEntry(Integer key) Veraltet.inthigherKey(int key) A Type Specific higherKey method to reduce boxing/unboxing.default IntegerVeraltet.keySet()lowerEntry(int key) A Type Specific lowerEntry method to reduce boxing/unboxing.default Int2ObjectMap.Entry<V>lowerEntry(Integer key) Veraltet.intlowerKey(int key) A Type Specific lowerKey method to reduce boxing/unboxing.default IntegerVeraltet.voidsetDefaultMaxValue(int e) A Helper method to set the max value for SubMaps.voidsetDefaultMinValue(int e) A Helper method to set the min value for SubMaps.subMap(int fromKey, boolean fromInclusive, int toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxingdefault Int2ObjectNavigableMap<V>subMap(int fromKey, int toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Int2ObjectNavigableMap<V>Veraltet.default Int2ObjectNavigableMap<V>Veraltet.default Int2ObjectNavigableMap<V>Creates a Wrapped NavigableMap that is Synchronizeddefault Int2ObjectNavigableMap<V>synchronize(Object mutex) Creates a Wrapped NavigableMap that is Synchronizeddefault Int2ObjectNavigableMap<V>tailMap(int fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(int fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingdefault Int2ObjectNavigableMap<V>Veraltet.default Int2ObjectNavigableMap<V>Veraltet.default Int2ObjectNavigableMap<V>Creates a Wrapped NavigableMap that is unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.ints.maps.interfaces.Int2ObjectMap
apply, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, int2ObjectEntrySet, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsentVon Schnittstelle geerbte Methoden speiger.src.collections.ints.maps.interfaces.Int2ObjectSortedMap
comparator, firstIntKey, firstKey, firstValue, lastIntKey, lastKey, lastValue, pollFirstIntKey, pollLastIntKey, values
-
Methodendetails
-
copy
Int2ObjectNavigableMap<V> copy()Beschreibung aus Schnittstelle kopiert:Int2ObjectMapA 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 SchnittstelleInt2ObjectMap<V>- Angegeben von:
copyin SchnittstelleInt2ObjectSortedMap<V>- Gibt zurück:
- a Shallow Copy of the Map
-
descendingMap
Int2ObjectNavigableMap<V> descendingMap()- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Integer,V> - Gibt zurück:
- a Type Specific desendingMap
-
descendingKeySet
IntNavigableSet descendingKeySet()- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Integer,V> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
Int2ObjectMap.Entry<V> firstEntry()- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Integer,V> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
Int2ObjectMap.Entry<V> lastEntry()- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Integer,V> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
Int2ObjectMap.Entry<V> pollFirstEntry()- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Integer,V> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
Int2ObjectMap.Entry<V> pollLastEntry()- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Integer,V> - Gibt zurück:
- a Type Specific pollLastEntry
-
keySet
IntNavigableSet keySet() -
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleInt2ObjectMap<V>- Angegeben von:
synchronizein SchnittstelleInt2ObjectSortedMap<V>- Gibt zurück:
- a new NavigableMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleInt2ObjectMap<V>- Angegeben von:
synchronizein SchnittstelleInt2ObjectSortedMap<V>- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new NavigableMap Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped NavigableMap that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleInt2ObjectMap<V>- Angegeben von:
unmodifiablein SchnittstelleInt2ObjectSortedMap<V>- Gibt zurück:
- a new NavigableMap Wrapper that is unmodifiable
- Siehe auch:
-
subMap
Int2ObjectNavigableMap<V> subMap(int fromKey, boolean fromInclusive, int toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxing- Parameter:
fromKey- where the submap should startfromInclusive- if the fromKey is inclusive or nottoKey- where the subMap should endtoInclusive- if the toKey is inclusive or not- Gibt zurück:
- a SubMap that is within the range of the desired range
-
headMap
A Type Specific HeadMap method to reduce boxing/unboxing- Parameter:
toKey- where the HeadMap should endinclusive- if the toKey is inclusive or not- Gibt zurück:
- a HeadMap that is within the range of the desired range
-
tailMap
A Type Specific TailMap method to reduce boxing/unboxing- Parameter:
fromKey- where the TailMap should startinclusive- if the fromKey is inclusive or not- Gibt zurück:
- a TailMap that is within the range of the desired range
-
subMap
Beschreibung aus Schnittstelle kopiert:Int2ObjectSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleInt2ObjectSortedMap<V>- 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
-
headMap
Beschreibung aus Schnittstelle kopiert:Int2ObjectSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleInt2ObjectSortedMap<V>- Parameter:
toKey- where the headMap should end- Gibt zurück:
- a HeadMap that is within the range of the desired range
-
tailMap
Beschreibung aus Schnittstelle kopiert:Int2ObjectSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleInt2ObjectSortedMap<V>- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
setDefaultMaxValue
void setDefaultMaxValue(int e) A Helper method to set the max value for SubMaps. (Default: int.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
int getDefaultMaxValue()A Helper method to get the max value for SubMaps.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(int e) A Helper method to set the min value for SubMaps. (Default: int.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
int getDefaultMinValue()A Helper method to get the min value for SubMaps.- Gibt zurück:
- the default min value.
-
lowerKey
int lowerKey(int key) A Type Specific lowerKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
int higherKey(int key) A Type Specific higherKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
int floorKey(int key) A Type Specific floorKey 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
-
ceilingKey
int ceilingKey(int key) A Type Specific ceilingKey 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
-
lowerEntry
A Type Specific lowerEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
A Type Specific higherEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
A Type Specific floorEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
A Type Specific ceilingEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
lowerKey
Veraltet.- Angegeben von:
lowerKeyin SchnittstelleNavigableMap<Integer,V>
-
floorKey
Veraltet.- Angegeben von:
floorKeyin SchnittstelleNavigableMap<Integer,V>
-
ceilingKey
Veraltet.- Angegeben von:
ceilingKeyin SchnittstelleNavigableMap<Integer,V>
-
higherKey
Veraltet.- Angegeben von:
higherKeyin SchnittstelleNavigableMap<Integer,V>
-
lowerEntry
Veraltet.- Angegeben von:
lowerEntryin SchnittstelleNavigableMap<Integer,V>
-
floorEntry
Veraltet.- Angegeben von:
floorEntryin SchnittstelleNavigableMap<Integer,V>
-
ceilingEntry
Veraltet.- Angegeben von:
ceilingEntryin SchnittstelleNavigableMap<Integer,V>
-
higherEntry
Veraltet.- Angegeben von:
higherEntryin SchnittstelleNavigableMap<Integer,V>
-
subMap
@Deprecated default Int2ObjectNavigableMap<V> subMap(Integer fromKey, boolean fromInclusive, Integer toKey, boolean toInclusive) Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Integer,V>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Integer,V>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Integer,V>
-
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-