Modul speiger.src.collections
Klasse Byte2ShortMaps.UnmodifyableNavigableMap
java.lang.Object
java.util.AbstractMap<Byte,Short>
speiger.src.collections.bytes.maps.abstracts.AbstractByte2ShortMap
speiger.src.collections.bytes.utils.maps.Byte2ShortMaps.UnmodifyableMap
speiger.src.collections.bytes.utils.maps.Byte2ShortMaps.UnmodifyableSortedMap
speiger.src.collections.bytes.utils.maps.Byte2ShortMaps.UnmodifyableNavigableMap
- Alle implementierten Schnittstellen:
Map<Byte,,Short> NavigableMap<Byte,,Short> SortedMap<Byte,,Short> Byte2ShortFunction,Byte2ShortMap,Byte2ShortNavigableMap,Byte2ShortSortedMap
- Umschließende Klasse:
Byte2ShortMaps
public static class Byte2ShortMaps.UnmodifyableNavigableMap
extends Byte2ShortMaps.UnmodifyableSortedMap
implements Byte2ShortNavigableMap
The Unmodifyable Navigable Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.bytes.maps.abstracts.AbstractByte2ShortMap
AbstractByte2ShortMap.BasicEntryVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.bytes.maps.interfaces.Byte2ShortMap
Byte2ShortMap.BuilderCache, Byte2ShortMap.Entry, Byte2ShortMap.FastEntrySet, Byte2ShortMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.bytes.maps.interfaces.Byte2ShortSortedMap
Byte2ShortSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungceilingEntry(byte key) A Type Specific ceilingEntry method to reduce boxing/unboxing.byteceilingKey(byte key) A Type Specific ceilingKey method to reduce boxing/unboxing.copy()A Function that does a shallow clone of the Map itself.floorEntry(byte key) A Type Specific floorEntry method to reduce boxing/unboxing.bytefloorKey(byte key) A Type Specific floorKey method to reduce boxing/unboxing.byteA Helper method to get the max value for SubMaps.byteA Helper method to get the min value for SubMaps.headMap(byte toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(byte toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxinghigherEntry(byte key) A Type Specific higherEntry method to reduce boxing/unboxing.bytehigherKey(byte key) A Type Specific higherKey method to reduce boxing/unboxing.keySet()lowerEntry(byte key) A Type Specific lowerEntry method to reduce boxing/unboxing.bytelowerKey(byte key) A Type Specific lowerKey method to reduce boxing/unboxing.voidsetDefaultMaxValue(byte e) A Helper method to set the max value for SubMaps.voidsetDefaultMinValue(byte e) A Helper method to set the min value for SubMaps.subMap(byte fromKey, boolean fromInclusive, byte toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxingsubMap(byte fromKey, byte toKey) A Type Specific SubMap method to reduce boxing/unboxingtailMap(byte fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(byte fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.bytes.utils.maps.Byte2ShortMaps.UnmodifyableSortedMap
comparator, firstByteKey, firstShortValue, lastByteKey, lastShortValue, pollFirstByteKey, pollLastByteKeyVon Klasse geerbte Methoden speiger.src.collections.bytes.utils.maps.Byte2ShortMaps.UnmodifyableMap
addTo, byte2ShortEntrySet, clear, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, get, getOrDefault, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.bytes.maps.abstracts.AbstractByte2ShortMap
addToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValueVon Klasse geerbte Methoden java.util.AbstractMap
containsKey, containsValue, isEmpty, size, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ShortMap
addTo, addToAll, applyAsShort, byte2ShortEntrySet, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ShortNavigableMap
ceilingEntry, ceilingKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lowerEntry, lowerKey, subMap, subMap, synchronize, synchronize, tailMap, tailMap, unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ShortSortedMap
comparator, firstByteKey, firstKey, firstShortValue, lastByteKey, lastKey, lastShortValue, pollFirstByteKey, pollLastByteKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleByte2ShortNavigableMap- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Byte,Short> - Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleByte2ShortMap- Angegeben von:
keySetin SchnittstelleByte2ShortNavigableMap- Angegeben von:
keySetin SchnittstelleByte2ShortSortedMap- Angegeben von:
keySetin SchnittstelleMap<Byte,Short> - Angegeben von:
keySetin SchnittstelleSortedMap<Byte,Short> - Setzt außer Kraft:
keySetin KlasseByte2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleByte2ShortNavigableMap- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Byte,Short> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleByte2ShortNavigableMap- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Byte,Short> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleByte2ShortNavigableMap- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Byte,Short> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleByte2ShortNavigableMap- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Byte,Short> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleByte2ShortNavigableMap- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Byte,Short> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Byte2ShortNavigableMap subMap(byte fromKey, boolean fromInclusive, byte toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleByte2ShortNavigableMap- 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
Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleByte2ShortNavigableMap- 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
Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleByte2ShortNavigableMap- 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:Byte2ShortSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleByte2ShortNavigableMap- Angegeben von:
subMapin SchnittstelleByte2ShortSortedMap- Setzt außer Kraft:
subMapin KlasseByte2ShortMaps.UnmodifyableSortedMap- 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:Byte2ShortSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleByte2ShortNavigableMap- Angegeben von:
headMapin SchnittstelleByte2ShortSortedMap- Setzt außer Kraft:
headMapin KlasseByte2ShortMaps.UnmodifyableSortedMap- 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:Byte2ShortSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleByte2ShortNavigableMap- Angegeben von:
tailMapin SchnittstelleByte2ShortSortedMap- Setzt außer Kraft:
tailMapin KlasseByte2ShortMaps.UnmodifyableSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
setDefaultMaxValue
public void setDefaultMaxValue(byte e) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Helper method to set the max value for SubMaps. (Default: byte.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleByte2ShortNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public byte getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleByte2ShortNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(byte e) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Helper method to set the min value for SubMaps. (Default: byte.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleByte2ShortNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public byte getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleByte2ShortNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
public byte lowerKey(byte key) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
public byte higherKey(byte key) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
public byte floorKey(byte key) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceilingKey
public byte ceilingKey(byte key) Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
lowerEntry
Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
Beschreibung aus Schnittstelle kopiert:Byte2ShortNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleByte2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
copy
Beschreibung aus Schnittstelle kopiert:Byte2ShortMapA 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 SchnittstelleByte2ShortMap- Angegeben von:
copyin SchnittstelleByte2ShortNavigableMap- Angegeben von:
copyin SchnittstelleByte2ShortSortedMap- Setzt außer Kraft:
copyin KlasseByte2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-