V - the type of elements maintained by this Collectionpublic interface Long2ObjectOrderedMap<V> extends Long2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Long2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Long2ObjectMap.BuilderCache<V>, Long2ObjectMap.Entry<V>, Long2ObjectMap.FastEntrySet<V>, Long2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
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.
|
V |
lastValue()
A method to get the last Value of a Map.
|
ObjectOrderedSet<Long2ObjectMap.Entry<V>> |
long2ObjectEntrySet()
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.
|
V |
putAndMoveToFirst(long key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(long key,
V value)
A customized put method that allows you to insert into the last index.
|
default Long2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Long2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Long2ObjectOrderedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuesclear, containsValue, equals, hashCode, isEmpty, putAll, sizeapplyV putAndMoveToFirst(long key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(long key, V 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 lastV getAndMoveToFirst(long key)
key - that is searched forV getAndMoveToLast(long key)
key - that is searched forlong firstLongKey()
long pollFirstLongKey()
long lastLongKey()
long pollLastLongKey()
V firstValue()
V lastValue()
Long2ObjectOrderedMap<V> copy()
Long2ObjectMapcopy in interface Long2ObjectMap<V>LongOrderedSet keySet()
keySet in interface Long2ObjectMap<V>keySet in interface java.util.Map<java.lang.Long,V>ObjectOrderedSet<Long2ObjectMap.Entry<V>> long2ObjectEntrySet()
Long2ObjectMaplong2ObjectEntrySet in interface Long2ObjectMap<V>default Long2ObjectOrderedMap<V> synchronize()
synchronize in interface Long2ObjectMap<V>Long2ObjectMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2ObjectMap<V>)default Long2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Long2ObjectMap<V>mutex - is the controller of the synchronization blockLong2ObjectMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2ObjectMap<V>)default Long2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Long2ObjectMap<V>Long2ObjectMaps.unmodifiable(speiger.src.collections.longs.maps.interfaces.Long2ObjectMap<V>)