public interface Int2LongOrderedMap extends Int2LongMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2LongOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2LongMap.BuilderCache, Int2LongMap.Entry, Int2LongMap.FastEntrySet, Int2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2LongMap.Entry> |
int2LongEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
IntOrderedSet |
keySet() |
int |
lastIntKey()
A method to get the last Key of a Map.
|
long |
lastLongValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
long |
putAndMoveToFirst(int key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(int key,
long value)
A customized put method that allows you to insert into the last index.
|
default Int2LongOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2LongOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2LongOrderedMap |
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(int key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)long putAndMoveToLast(int key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(int key)
key - that should be moved to the first indexboolean moveToLast(int key)
key - that should be moved to the first lastlong getAndMoveToFirst(int key)
key - that is searched forlong getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
long firstLongValue()
long lastLongValue()
Int2LongOrderedMap copy()
Int2LongMapcopy in interface Int2LongMapIntOrderedSet keySet()
keySet in interface Int2LongMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Long>ObjectOrderedSet<Int2LongMap.Entry> int2LongEntrySet()
Int2LongMapint2LongEntrySet in interface Int2LongMapdefault Int2LongOrderedMap synchronize()
synchronize in interface Int2LongMapInt2LongMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2LongMap)default Int2LongOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2LongMapmutex - is the controller of the synchronization blockInt2LongMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2LongMap)default Int2LongOrderedMap unmodifiable()
unmodifiable in interface Int2LongMapInt2LongMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2LongMap)