Modul speiger.src.collections
Klasse Long2IntMaps.UnmodifyableSortedMap
java.lang.Object
java.util.AbstractMap<Long,Integer>
speiger.src.collections.longs.maps.abstracts.AbstractLong2IntMap
speiger.src.collections.longs.utils.maps.Long2IntMaps.UnmodifyableMap
speiger.src.collections.longs.utils.maps.Long2IntMaps.UnmodifyableSortedMap
- Alle implementierten Schnittstellen:
LongToIntFunction,Map<Long,,Integer> SortedMap<Long,,Integer> Long2IntFunction,Long2IntMap,Long2IntSortedMap
- Bekannte direkte Unterklassen:
Long2IntMaps.UnmodifyableNavigableMap
- Umschließende Klasse:
Long2IntMaps
public static class Long2IntMaps.UnmodifyableSortedMap
extends Long2IntMaps.UnmodifyableMap
implements Long2IntSortedMap
The Unmodifyable Sorted Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.abstracts.AbstractLong2IntMap
AbstractLong2IntMap.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.longs.maps.interfaces.Long2IntMap
Long2IntMap.BuilderCache, Long2IntMap.Entry, Long2IntMap.FastEntrySet, Long2IntMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.interfaces.Long2IntSortedMap
Long2IntSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.intA method to get the first Value of a Map.longA method to get the first Key of a Map.headMap(long toKey) A Type Specific HeadMap method to reduce boxing/unboxingkeySet()intA method to get the last Value of a Map.longA method to get the last Key of a Map.longA method to get and remove the first Key of a Map.longA method to get and remove the last Key of a Map.subMap(long fromKey, long toKey) A Type Specific SubMap method to reduce boxing/unboxingtailMap(long fromKey) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.longs.utils.maps.Long2IntMaps.UnmodifyableMap
addTo, clear, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, get, getOrDefault, long2IntEntrySet, mergeAllInt, mergeInt, put, putIfAbsent, remove, remove, removeOrDefault, replaceInts, replaceInts, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.longs.maps.abstracts.AbstractLong2IntMap
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.longs.maps.interfaces.Long2IntMap
addTo, addToAll, applyAsInt, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2IntEntrySet, merge, mergeAllInt, mergeInt, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2IntSortedMap
firstKey, headMap, lastKey, subMap, synchronize, synchronize, tailMap, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleLong2IntSortedMap- Angegeben von:
comparatorin SchnittstelleSortedMap<Long,Integer>
-
subMap
Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2IntSortedMap- 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:Long2IntSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2IntSortedMap- 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:Long2IntSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2IntSortedMap- 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 SchnittstelleLong2IntMap- Angegeben von:
keySetin SchnittstelleLong2IntSortedMap- Angegeben von:
keySetin SchnittstelleMap<Long,Integer> - Angegeben von:
keySetin SchnittstelleSortedMap<Long,Integer> - Setzt außer Kraft:
keySetin KlasseLong2IntMaps.UnmodifyableMap
-
firstLongKey
public long firstLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the first Key of a Map.- Angegeben von:
firstLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the first key in the map
-
pollFirstLongKey
public long pollFirstLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the first key in the map
-
lastLongKey
public long lastLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the last Key of a Map.- Angegeben von:
lastLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the last key in the map
-
pollLastLongKey
public long pollLastLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the last key in the map
-
firstIntValue
public int firstIntValue()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the first Value of a Map.- Angegeben von:
firstIntValuein SchnittstelleLong2IntSortedMap- Gibt zurück:
- the first key in the map
-
lastIntValue
public int lastIntValue()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the last Value of a Map.- Angegeben von:
lastIntValuein SchnittstelleLong2IntSortedMap- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Long2IntMapA 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 SchnittstelleLong2IntMap- Angegeben von:
copyin SchnittstelleLong2IntSortedMap- Setzt außer Kraft:
copyin KlasseLong2IntMaps.UnmodifyableMap- Gibt zurück:
- a Shallow Copy of the Map
-