Modul speiger.src.collections
Schnittstelle Byte2ObjectSortedMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
Byte2ObjectMap<V>,ByteFunction<V>,Map<Byte,,V> SortedMap<Byte,V>
- Alle bekannten Unterschnittstellen:
Byte2ObjectNavigableMap<V>
- Alle bekannten Implementierungsklassen:
Byte2ObjectAVLTreeMap,Byte2ObjectMaps.SynchronizedNavigableMap,Byte2ObjectMaps.SynchronizedSortedMap,Byte2ObjectMaps.UnmodifyableNavigableMap,Byte2ObjectMaps.UnmodifyableSortedMap,Byte2ObjectRBTreeMap
A Type Specific
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.- Note:
- Byte2ObjectOrderedMap is only extended until 0.6.0 for Compat reasons. The supported classes already implement Byte2ObjectOrderedMap directly and will remove Byte2ObjectSortedMap implementations in favor of Byte2ObjectOrderedMap 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.bytes.maps.interfaces.Byte2ObjectMap
Byte2ObjectMap.BuilderCache<V>, Byte2ObjectMap.Entry<V>, Byte2ObjectMap.FastEntrySet<V>, Byte2ObjectMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.byteA method to get the first Key of a Map.default BytefirstKey()Veraltet.A method to get the first Value of a Map.headMap(byte toKey) A Type Specific HeadMap method to reduce boxing/unboxingdefault Byte2ObjectSortedMap<V>Veraltet.keySet()byteA method to get the last Key of a Map.default BytelastKey()Veraltet.A method to get the last Value of a Map.byteA method to get and remove the first Key of a Map.byteA method to get and remove the last Key of a Map.subMap(byte fromKey, byte toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Byte2ObjectSortedMap<V>Veraltet.default Byte2ObjectSortedMap<V>Creates a Wrapped SortedMap that is Synchronizeddefault Byte2ObjectSortedMap<V>synchronize(Object mutex) Creates a Wrapped SortedMap that is SynchronizedtailMap(byte fromKey) A Type Specific TailMap method to reduce boxing/unboxingdefault Byte2ObjectSortedMap<V>Veraltet.default Byte2ObjectSortedMap<V>Creates a Wrapped SortedMap that is unmodifiablevalues()Von Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap
apply, byte2ObjectEntrySet, 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
-
Methodendetails
-
comparator
ByteComparator comparator()- Angegeben von:
comparatorin SchnittstelleSortedMap<Byte,V>
-
copy
Byte2ObjectSortedMap<V> 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>- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
ByteSortedSet keySet() -
values
ObjectCollection<V> values() -
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleByte2ObjectMap<V>- Gibt zurück:
- a new SortedMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleByte2ObjectMap<V>- 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 SchnittstelleByte2ObjectMap<V>- 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.
-
firstByteKey
byte firstByteKey()A method to get the first Key of a Map.- Gibt zurück:
- the first key in the map
-
pollFirstByteKey
byte pollFirstByteKey()A method to get and remove the first Key of a Map.- Gibt zurück:
- the first key in the map
-
lastByteKey
byte lastByteKey()A method to get the last Key of a Map.- Gibt zurück:
- the last key in the map
-
pollLastByteKey
byte pollLastByteKey()A method to get and remove the last Key of a Map.- Gibt zurück:
- the last key in the map
-
firstValue
V firstValue()A method to get the first Value of a Map.- Gibt zurück:
- the first key in the map
-
lastValue
V lastValue()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.
-