public static class Short2ShortMaps.UnmodifyableOrderedMap extends Short2ShortMaps.UnmodifyableMap implements Short2ShortOrderedMap
AbstractShort2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2ShortOrderedMap.FastOrderedSetShort2ShortMap.BuilderCache, Short2ShortMap.Entry, Short2ShortMap.FastEntrySet, Short2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
short |
lastShortKey()
A method to get the last Key of a Map.
|
short |
lastShortValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
short |
putAndMoveToFirst(short key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(short key,
short value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2ShortMap.Entry> |
short2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
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, valuesandThen, compose, identitypublic short putAndMoveToFirst(short key,
short value)
Short2ShortOrderedMapputAndMoveToFirst in interface Short2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(short key,
short value)
Short2ShortOrderedMapputAndMoveToLast in interface Short2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2ShortOrderedMapmoveToFirst in interface Short2ShortOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2ShortOrderedMapmoveToLast in interface Short2ShortOrderedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(short key)
Short2ShortOrderedMapgetAndMoveToFirst in interface Short2ShortOrderedMapkey - that is searched forpublic short getAndMoveToLast(short key)
Short2ShortOrderedMapgetAndMoveToLast in interface Short2ShortOrderedMapkey - that is searched forpublic short firstShortKey()
Short2ShortOrderedMapfirstShortKey in interface Short2ShortOrderedMappublic short pollFirstShortKey()
Short2ShortOrderedMappollFirstShortKey in interface Short2ShortOrderedMappublic short lastShortKey()
Short2ShortOrderedMaplastShortKey in interface Short2ShortOrderedMappublic short pollLastShortKey()
Short2ShortOrderedMappollLastShortKey in interface Short2ShortOrderedMappublic short firstShortValue()
Short2ShortOrderedMapfirstShortValue in interface Short2ShortOrderedMappublic short lastShortValue()
Short2ShortOrderedMaplastShortValue in interface Short2ShortOrderedMappublic Short2ShortOrderedMap copy()
Short2ShortMapcopy in interface Short2ShortMapcopy in interface Short2ShortOrderedMapcopy in class Short2ShortMaps.UnmodifyableMappublic ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Short>keySet in interface Short2ShortMapkeySet in interface Short2ShortOrderedMapkeySet in class Short2ShortMaps.UnmodifyableMappublic ObjectOrderedSet<Short2ShortMap.Entry> short2ShortEntrySet()
Short2ShortMapshort2ShortEntrySet in interface Short2ShortMapshort2ShortEntrySet in interface Short2ShortOrderedMapshort2ShortEntrySet in class Short2ShortMaps.UnmodifyableMap