Modul speiger.src.collections
Klasse Byte2ObjectMaps.UnmodifyableOrderedMap<V>
java.lang.Object
java.util.AbstractMap<Byte,V>
speiger.src.collections.bytes.maps.abstracts.AbstractByte2ObjectMap<V>
speiger.src.collections.bytes.utils.maps.Byte2ObjectMaps.UnmodifyableMap<V>
speiger.src.collections.bytes.utils.maps.Byte2ObjectMaps.UnmodifyableOrderedMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Map<Byte,,V> ByteFunction<V>,Byte2ObjectMap<V>,Byte2ObjectOrderedMap<V>
- Umschließende Klasse:
Byte2ObjectMaps
public static class Byte2ObjectMaps.UnmodifyableOrderedMap<V>
extends Byte2ObjectMaps.UnmodifyableMap<V>
implements Byte2ObjectOrderedMap<V>
The Unmodifyable Ordered Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.bytes.maps.abstracts.AbstractByte2ObjectMap
AbstractByte2ObjectMap.BasicEntry<V>Von 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.Byte2ObjectMap
Byte2ObjectMap.BuilderCache<V>, Byte2ObjectMap.Entry<V>, Byte2ObjectMap.FastEntrySet<V>, Byte2ObjectMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.bytes.maps.interfaces.Byte2ObjectOrderedMap
Byte2ObjectOrderedMap.FastOrderedSet<V> -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungType Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.copy()A Function that does a shallow clone of the Map itself.byteA method to get the first Key of a Map.A method to get the first Value of a Map.getAndMoveToFirst(byte key) A Specific get method that allows to move teh given key/value int the first index.getAndMoveToLast(byte key) A Specific get method that allows to move teh given key/value int the last index.keySet()byteA method to get the last Key of a Map.A method to get the last Value of a Map.booleanmoveToFirst(byte key) A specific move method to move a given key/value to the first index.booleanmoveToLast(byte key) A specific move method to move a given key/value to the last index.byteA method to get and remove the first Key of a Map.byteA method to get and remove the last Key of a Map.putAndMoveToFirst(byte key, V value) A customized put method that allows you to insert into the first index.putAndMoveToLast(byte key, V value) A customized put method that allows you to insert into the last index.Von Klasse geerbte Methoden speiger.src.collections.bytes.utils.maps.Byte2ObjectMaps.UnmodifyableMap
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuesVon Klasse geerbte Methoden speiger.src.collections.bytes.maps.abstracts.AbstractByte2ObjectMap
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, isEmpty, size, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap
apply, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, 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, supplyIfAbsent, valuesVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ObjectOrderedMap
synchronize, synchronize, unmodifiable
-
Methodendetails
-
putAndMoveToFirst
Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA customized put method that allows you to insert into the first index.- Angegeben von:
putAndMoveToFirstin SchnittstelleByte2ObjectOrderedMap<V>- Parameter:
key- the key that should be insertedvalue- the value that should be inserted- Gibt zurück:
- the previous present or default return value
- Siehe auch:
-
putAndMoveToLast
Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA customized put method that allows you to insert into the last index. (This may be nessesary depending on the implementation)- Angegeben von:
putAndMoveToLastin SchnittstelleByte2ObjectOrderedMap<V>- Parameter:
key- the key that should be insertedvalue- the value that should be inserted- Gibt zurück:
- the previous present or default return value
- Siehe auch:
-
moveToFirst
public boolean moveToFirst(byte key) Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA specific move method to move a given key/value to the first index.- Angegeben von:
moveToFirstin SchnittstelleByte2ObjectOrderedMap<V>- Parameter:
key- that should be moved to the first index- Gibt zurück:
- true if the value was moved.
-
moveToLast
public boolean moveToLast(byte key) Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA specific move method to move a given key/value to the last index.- Angegeben von:
moveToLastin SchnittstelleByte2ObjectOrderedMap<V>- Parameter:
key- that should be moved to the first last- Gibt zurück:
- true if the value was moved.
-
getAndMoveToFirst
Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA Specific get method that allows to move teh given key/value int the first index.- Angegeben von:
getAndMoveToFirstin SchnittstelleByte2ObjectOrderedMap<V>- Parameter:
key- that is searched for- Gibt zurück:
- the given value for the requested key or default return value
-
getAndMoveToLast
Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA Specific get method that allows to move teh given key/value int the last index.- Angegeben von:
getAndMoveToLastin SchnittstelleByte2ObjectOrderedMap<V>- Parameter:
key- that is searched for- Gibt zurück:
- the given value for the requested key or default return value
-
firstByteKey
public byte firstByteKey()Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA method to get the first Key of a Map.- Angegeben von:
firstByteKeyin SchnittstelleByte2ObjectOrderedMap<V>- Gibt zurück:
- the first key in the map
-
pollFirstByteKey
public byte pollFirstByteKey()Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstByteKeyin SchnittstelleByte2ObjectOrderedMap<V>- Gibt zurück:
- the first key in the map
-
lastByteKey
public byte lastByteKey()Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA method to get the last Key of a Map.- Angegeben von:
lastByteKeyin SchnittstelleByte2ObjectOrderedMap<V>- Gibt zurück:
- the last key in the map
-
pollLastByteKey
public byte pollLastByteKey()Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastByteKeyin SchnittstelleByte2ObjectOrderedMap<V>- Gibt zurück:
- the last key in the map
-
firstValue
Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA method to get the first Value of a Map.- Angegeben von:
firstValuein SchnittstelleByte2ObjectOrderedMap<V>- Gibt zurück:
- the first key in the map
-
lastValue
Beschreibung aus Schnittstelle kopiert:Byte2ObjectOrderedMapA method to get the last Value of a Map.- Angegeben von:
lastValuein SchnittstelleByte2ObjectOrderedMap<V>- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Byte2ObjectMapA 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 SchnittstelleByte2ObjectMap<V>- Angegeben von:
copyin SchnittstelleByte2ObjectOrderedMap<V>- Setzt außer Kraft:
copyin KlasseByte2ObjectMaps.UnmodifyableMap<V>- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
- Angegeben von:
keySetin SchnittstelleByte2ObjectMap<V>- Angegeben von:
keySetin SchnittstelleByte2ObjectOrderedMap<V>- Angegeben von:
keySetin SchnittstelleMap<Byte,V> - Setzt außer Kraft:
keySetin KlasseByte2ObjectMaps.UnmodifyableMap<V>
-
byte2ObjectEntrySet
Beschreibung aus Schnittstelle kopiert:Byte2ObjectMapType Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.- Angegeben von:
byte2ObjectEntrySetin SchnittstelleByte2ObjectMap<V>- Angegeben von:
byte2ObjectEntrySetin SchnittstelleByte2ObjectOrderedMap<V>- Setzt außer Kraft:
byte2ObjectEntrySetin KlasseByte2ObjectMaps.UnmodifyableMap<V>- Gibt zurück:
- a EntrySet of the collection
-