Modul speiger.src.collections
Schnittstelle Int2ByteSortedMap
- Alle Superschnittstellen:
Int2ByteFunction,Int2ByteMap,Map<Integer,,Byte> SortedMap<Integer,Byte>
- Alle bekannten Unterschnittstellen:
Int2ByteNavigableMap
- Alle bekannten Implementierungsklassen:
Int2ByteAVLTreeMap,Int2ByteMaps.SynchronizedNavigableMap,Int2ByteMaps.SynchronizedSortedMap,Int2ByteMaps.UnmodifyableNavigableMap,Int2ByteMaps.UnmodifyableSortedMap,Int2ByteRBTreeMap
A Type Specific
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.- Note:
- Int2ByteOrderedMap is only extended until 0.6.0 for Compat reasons. The supported classes already implement Int2ByteOrderedMap directly and will remove Int2ByteSortedMap implementations in favor of Int2ByteOrderedMap 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.ints.maps.interfaces.Int2ByteMap
Int2ByteMap.BuilderCache, Int2ByteMap.Entry, Int2ByteMap.FastEntrySet, Int2ByteMap.MapBuilder -
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.intA method to get the first Key of a Map.default IntegerfirstKey()Veraltet.headMap(int toKey) A Type Specific HeadMap method to reduce boxing/unboxingdefault Int2ByteSortedMapVeraltet.keySet()byteA method to get the last Value of a Map.intA method to get the last Key of a Map.default IntegerlastKey()Veraltet.intA method to get and remove the first Key of a Map.intA method to get and remove the last Key of a Map.subMap(int fromKey, int toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Int2ByteSortedMapVeraltet.default Int2ByteSortedMapCreates a Wrapped SortedMap that is Synchronizeddefault Int2ByteSortedMapsynchronize(Object mutex) Creates a Wrapped SortedMap that is SynchronizedtailMap(int fromKey) A Type Specific TailMap method to reduce boxing/unboxingdefault Int2ByteSortedMapVeraltet.default Int2ByteSortedMapCreates a Wrapped SortedMap that is unmodifiablevalues()Von Schnittstelle geerbte Methoden speiger.src.collections.ints.maps.interfaces.Int2ByteMap
addTo, addToAll, applyAsByte, compute, computeByte, computeByteIfAbsent, computeByteIfAbsentNonDefault, computeByteIfPresent, computeByteIfPresentNonDefault, computeByteNonDefault, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, int2ByteEntrySet, 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, subFrom, supplyByteIfAbsent, supplyByteIfAbsentNonDefault
-
Methodendetails
-
comparator
IntComparator comparator()- Angegeben von:
comparatorin SchnittstelleSortedMap<Integer,Byte>
-
copy
Int2ByteSortedMap copy()Beschreibung aus Schnittstelle kopiert:Int2ByteMapA 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 SchnittstelleInt2ByteMap- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
IntSortedSet keySet() -
values
ByteCollection values() -
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleInt2ByteMap- Gibt zurück:
- a new SortedMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleInt2ByteMap- 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 SchnittstelleInt2ByteMap- 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.
-
firstIntKey
int firstIntKey()A method to get the first Key of a Map.- Gibt zurück:
- the first key in the map
-
pollFirstIntKey
int pollFirstIntKey()A method to get and remove the first Key of a Map.- Gibt zurück:
- the first key in the map
-
lastIntKey
int lastIntKey()A method to get the last Key of a Map.- Gibt zurück:
- the last key in the map
-
pollLastIntKey
int pollLastIntKey()A method to get and remove the last Key of a Map.- Gibt zurück:
- the last key in the map
-
firstByteValue
byte firstByteValue()A method to get the first Value of a Map.- Gibt zurück:
- the first key in the map
-
lastByteValue
byte lastByteValue()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.
-