public interface Long2IntOrderedMap extends Long2IntMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Long2IntOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Long2IntMap.BuilderCache, Long2IntMap.Entry, Long2IntMap.FastEntrySet, Long2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
int |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
LongOrderedSet |
keySet() |
int |
lastIntValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
ObjectOrderedSet<Long2IntMap.Entry> |
long2IntEntrySet()
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.
|
int |
putAndMoveToFirst(long key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(long key,
int value)
A customized put method that allows you to insert into the last index.
|
default Long2IntOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Long2IntOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Long2IntOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, 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, valuesapplyAsIntint putAndMoveToFirst(long key,
int value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)int putAndMoveToLast(long key,
int value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(long key)
key - that should be moved to the first indexboolean moveToLast(long key)
key - that should be moved to the first lastint getAndMoveToFirst(long key)
key - that is searched forint getAndMoveToLast(long key)
key - that is searched forlong firstLongKey()
long pollFirstLongKey()
long lastLongKey()
long pollLastLongKey()
int firstIntValue()
int lastIntValue()
Long2IntOrderedMap copy()
Long2IntMapcopy in interface Long2IntMapLongOrderedSet keySet()
keySet in interface Long2IntMapkeySet in interface java.util.Map<java.lang.Long,java.lang.Integer>ObjectOrderedSet<Long2IntMap.Entry> long2IntEntrySet()
Long2IntMaplong2IntEntrySet in interface Long2IntMapdefault Long2IntOrderedMap synchronize()
synchronize in interface Long2IntMapLong2IntMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2IntMap)default Long2IntOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Long2IntMapmutex - is the controller of the synchronization blockLong2IntMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2IntMap)default Long2IntOrderedMap unmodifiable()
unmodifiable in interface Long2IntMapLong2IntMaps.unmodifiable(speiger.src.collections.longs.maps.interfaces.Long2IntMap)