public static class Long2ShortMaps.UnmodifyableOrderedMap extends Long2ShortMaps.UnmodifyableMap implements Long2ShortOrderedMap
AbstractLong2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2ShortOrderedMap.FastOrderedSetLong2ShortMap.BuilderCache, Long2ShortMap.Entry, Long2ShortMap.FastEntrySet, Long2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
LongOrderedSet |
keySet() |
long |
lastLongKey()
A method to get the last Key of a Map.
|
short |
lastShortValue()
A method to get the last Value of a Map.
|
ObjectOrderedSet<Long2ShortMap.Entry> |
long2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
short |
putAndMoveToFirst(long key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(long key,
short value)
A customized put method that allows you to insert into the last index.
|
addTo, clear, computeShort, computeShortIfAbsent, computeShortIfPresent, get, getOrDefault, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, subFrom, supplyShortIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuecontainsKey, containsValue, isEmpty, size, toStringsynchronize, synchronize, unmodifiableaddTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuespublic short putAndMoveToFirst(long key,
short value)
Long2ShortOrderedMapputAndMoveToFirst in interface Long2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(long key,
short value)
Long2ShortOrderedMapputAndMoveToLast in interface Long2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2ShortOrderedMapmoveToFirst in interface Long2ShortOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2ShortOrderedMapmoveToLast in interface Long2ShortOrderedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(long key)
Long2ShortOrderedMapgetAndMoveToFirst in interface Long2ShortOrderedMapkey - that is searched forpublic short getAndMoveToLast(long key)
Long2ShortOrderedMapgetAndMoveToLast in interface Long2ShortOrderedMapkey - that is searched forpublic long firstLongKey()
Long2ShortOrderedMapfirstLongKey in interface Long2ShortOrderedMappublic long pollFirstLongKey()
Long2ShortOrderedMappollFirstLongKey in interface Long2ShortOrderedMappublic long lastLongKey()
Long2ShortOrderedMaplastLongKey in interface Long2ShortOrderedMappublic long pollLastLongKey()
Long2ShortOrderedMappollLastLongKey in interface Long2ShortOrderedMappublic short firstShortValue()
Long2ShortOrderedMapfirstShortValue in interface Long2ShortOrderedMappublic short lastShortValue()
Long2ShortOrderedMaplastShortValue in interface Long2ShortOrderedMappublic Long2ShortOrderedMap copy()
Long2ShortMapcopy in interface Long2ShortMapcopy in interface Long2ShortOrderedMapcopy in class Long2ShortMaps.UnmodifyableMappublic LongOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Short>keySet in interface Long2ShortMapkeySet in interface Long2ShortOrderedMapkeySet in class Long2ShortMaps.UnmodifyableMappublic ObjectOrderedSet<Long2ShortMap.Entry> long2ShortEntrySet()
Long2ShortMaplong2ShortEntrySet in interface Long2ShortMaplong2ShortEntrySet in interface Long2ShortOrderedMaplong2ShortEntrySet in class Long2ShortMaps.UnmodifyableMap