Modul speiger.src.collections
Klasse Short2ByteMaps.UnmodifyableSortedMap
java.lang.Object
java.util.AbstractMap<Short,Byte>
speiger.src.collections.shorts.maps.abstracts.AbstractShort2ByteMap
speiger.src.collections.shorts.utils.maps.Short2ByteMaps.UnmodifyableMap
speiger.src.collections.shorts.utils.maps.Short2ByteMaps.UnmodifyableSortedMap
- Alle implementierten Schnittstellen:
Map<Short,,Byte> SortedMap<Short,,Byte> Short2ByteFunction,Short2ByteMap,Short2ByteSortedMap
- Bekannte direkte Unterklassen:
Short2ByteMaps.UnmodifyableNavigableMap
- Umschließende Klasse:
Short2ByteMaps
public static class Short2ByteMaps.UnmodifyableSortedMap
extends Short2ByteMaps.UnmodifyableMap
implements Short2ByteSortedMap
The Unmodifyable Sorted Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.abstracts.AbstractShort2ByteMap
AbstractShort2ByteMap.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.shorts.maps.interfaces.Short2ByteMap
Short2ByteMap.BuilderCache, Short2ByteMap.Entry, Short2ByteMap.FastEntrySet, Short2ByteMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.interfaces.Short2ByteSortedMap
Short2ByteSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.byteA method to get the first Value of a Map.shortA method to get the first Key of a Map.headMap(short toKey) A Type Specific HeadMap method to reduce boxing/unboxingkeySet()byteA method to get the last Value of a Map.shortA method to get the last Key of a Map.shortA method to get and remove the first Key of a Map.shortA method to get and remove the last Key of a Map.subMap(short fromKey, short toKey) A Type Specific SubMap method to reduce boxing/unboxingtailMap(short fromKey) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2ByteMaps.UnmodifyableMap
addTo, clear, computeByte, computeByteIfAbsent, computeByteIfAbsentNonDefault, computeByteIfPresent, computeByteIfPresentNonDefault, computeByteNonDefault, get, getOrDefault, mergeAllByte, mergeByte, put, putIfAbsent, remove, remove, removeOrDefault, replaceBytes, replaceBytes, short2ByteEntrySet, subFrom, supplyByteIfAbsent, supplyByteIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.shorts.maps.abstracts.AbstractShort2ByteMap
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.shorts.maps.interfaces.Short2ByteMap
addTo, addToAll, applyAsByte, compute, computeByte, computeByteIfAbsent, computeByteIfAbsentNonDefault, computeByteIfPresent, computeByteIfPresentNonDefault, computeByteNonDefault, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValue, short2ByteEntrySet, subFrom, supplyByteIfAbsent, supplyByteIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2ByteSortedMap
firstKey, headMap, lastKey, subMap, synchronize, synchronize, tailMap, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleShort2ByteSortedMap- Angegeben von:
comparatorin SchnittstelleSortedMap<Short,Byte>
-
subMap
Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2ByteSortedMap- 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:Short2ByteSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2ByteSortedMap- 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:Short2ByteSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2ByteSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
keySet
- Angegeben von:
keySetin SchnittstelleMap<Short,Byte> - Angegeben von:
keySetin SchnittstelleShort2ByteMap- Angegeben von:
keySetin SchnittstelleShort2ByteSortedMap- Angegeben von:
keySetin SchnittstelleSortedMap<Short,Byte> - Setzt außer Kraft:
keySetin KlasseShort2ByteMaps.UnmodifyableMap
-
firstShortKey
public short firstShortKey()Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA method to get the first Key of a Map.- Angegeben von:
firstShortKeyin SchnittstelleShort2ByteSortedMap- Gibt zurück:
- the first key in the map
-
pollFirstShortKey
public short pollFirstShortKey()Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstShortKeyin SchnittstelleShort2ByteSortedMap- Gibt zurück:
- the first key in the map
-
lastShortKey
public short lastShortKey()Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA method to get the last Key of a Map.- Angegeben von:
lastShortKeyin SchnittstelleShort2ByteSortedMap- Gibt zurück:
- the last key in the map
-
pollLastShortKey
public short pollLastShortKey()Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastShortKeyin SchnittstelleShort2ByteSortedMap- Gibt zurück:
- the last key in the map
-
firstByteValue
public byte firstByteValue()Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA method to get the first Value of a Map.- Angegeben von:
firstByteValuein SchnittstelleShort2ByteSortedMap- Gibt zurück:
- the first key in the map
-
lastByteValue
public byte lastByteValue()Beschreibung aus Schnittstelle kopiert:Short2ByteSortedMapA method to get the last Value of a Map.- Angegeben von:
lastByteValuein SchnittstelleShort2ByteSortedMap- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Short2ByteMapA 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 SchnittstelleShort2ByteMap- Angegeben von:
copyin SchnittstelleShort2ByteSortedMap- Setzt außer Kraft:
copyin KlasseShort2ByteMaps.UnmodifyableMap- Gibt zurück:
- a Shallow Copy of the Map
-