public interface Short2LongOrderedMap extends Short2LongMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Short2LongOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2LongMap.BuilderCache, Short2LongMap.Entry, Short2LongMap.FastEntrySet, Short2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
long |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
long |
lastLongValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key 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.
|
long |
putAndMoveToFirst(short key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(short key,
long value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2LongMap.Entry> |
short2LongEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
default Short2LongOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2LongOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Short2LongOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsLong, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsent, valueslong putAndMoveToFirst(short key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)long putAndMoveToLast(short key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(short key)
key - that should be moved to the first indexboolean moveToLast(short key)
key - that should be moved to the first lastlong getAndMoveToFirst(short key)
key - that is searched forlong getAndMoveToLast(short key)
key - that is searched forshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
long firstLongValue()
long lastLongValue()
Short2LongOrderedMap copy()
Short2LongMapcopy in interface Short2LongMapShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Long>keySet in interface Short2LongMapObjectOrderedSet<Short2LongMap.Entry> short2LongEntrySet()
Short2LongMapshort2LongEntrySet in interface Short2LongMapdefault Short2LongOrderedMap synchronize()
synchronize in interface Short2LongMapShort2LongMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2LongMap)default Short2LongOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2LongMapmutex - is the controller of the synchronization blockShort2LongMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2LongMap)default Short2LongOrderedMap unmodifiable()
unmodifiable in interface Short2LongMapShort2LongMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2LongMap)