public static class Long2LongMaps.SynchronizedOrderedMap extends Long2LongMaps.SynchronizedMap implements Long2LongOrderedMap
AbstractLong2LongMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2LongOrderedMap.FastOrderedSetLong2LongMap.BuilderCache, Long2LongMap.Entry, Long2LongMap.FastEntrySet, Long2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
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.
|
long |
lastLongValue()
A method to get the last Value of a Map.
|
ObjectOrderedSet<Long2LongMap.Entry> |
long2LongEntrySet()
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.
|
long |
putAndMoveToFirst(long key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(long key,
long value)
A customized put method that allows you to insert into the last index.
|
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, size, subFrom, supplyLongIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiableaddTo, 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, valuesandThen, compose, identitypublic long putAndMoveToFirst(long key,
long value)
Long2LongOrderedMapputAndMoveToFirst in interface Long2LongOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public long putAndMoveToLast(long key,
long value)
Long2LongOrderedMapputAndMoveToLast in interface Long2LongOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2LongOrderedMapmoveToFirst in interface Long2LongOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2LongOrderedMapmoveToLast in interface Long2LongOrderedMapkey - that should be moved to the first lastpublic long getAndMoveToFirst(long key)
Long2LongOrderedMapgetAndMoveToFirst in interface Long2LongOrderedMapkey - that is searched forpublic long getAndMoveToLast(long key)
Long2LongOrderedMapgetAndMoveToLast in interface Long2LongOrderedMapkey - that is searched forpublic long firstLongKey()
Long2LongOrderedMapfirstLongKey in interface Long2LongOrderedMappublic long pollFirstLongKey()
Long2LongOrderedMappollFirstLongKey in interface Long2LongOrderedMappublic long lastLongKey()
Long2LongOrderedMaplastLongKey in interface Long2LongOrderedMappublic long pollLastLongKey()
Long2LongOrderedMappollLastLongKey in interface Long2LongOrderedMappublic long firstLongValue()
Long2LongOrderedMapfirstLongValue in interface Long2LongOrderedMappublic long lastLongValue()
Long2LongOrderedMaplastLongValue in interface Long2LongOrderedMappublic Long2LongOrderedMap copy()
Long2LongMapcopy in interface Long2LongMapcopy in interface Long2LongOrderedMapcopy in class Long2LongMaps.SynchronizedMappublic LongOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Long>keySet in interface Long2LongMapkeySet in interface Long2LongOrderedMapkeySet in class Long2LongMaps.SynchronizedMappublic ObjectOrderedSet<Long2LongMap.Entry> long2LongEntrySet()
Long2LongMaplong2LongEntrySet in interface Long2LongMaplong2LongEntrySet in interface Long2LongOrderedMaplong2LongEntrySet in class Long2LongMaps.SynchronizedMap