T - the type of elements maintained by this Collectionpublic static class Object2IntMaps.SynchronizedSortedMap<T> extends Object2IntMaps.SynchronizedMap<T> implements Object2IntSortedMap<T>
AbstractObject2IntMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2IntSortedMap.FastSortedSet<T>Object2IntMap.Entry<T>, Object2IntMap.FastEntrySet<T>| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
int |
firstIntValue()
A method to get the first Value of a Map.
|
T |
firstKey() |
int |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
Object2IntSortedMap<T> |
headMap(T toKey) |
int |
lastIntValue()
A method to get the last Value of a Map.
|
T |
lastKey() |
boolean |
moveToFirst(T key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(T key)
A specific move method to move a given key/value to the last index.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
int |
putAndMoveToFirst(T key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(T key,
int value)
A customized put method that allows you to insert into the last index.
|
Object2IntSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2IntSortedMap<T> |
tailMap(T fromKey) |
addTo, addToAll, computeInt, computeIntIfAbsent, computeIntIfPresent, containsValue, forEach, getDefaultReturnValue, getInt, getOrDefault, keySet, mergeAllInt, mergeInt, object2IntEntrySet, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceInts, replaceInts, setDefaultReturnValue, size, valuescontainsKey, entrySet, equals, get, getOrDefault, hashCodeclear, containsValue, isEmpty, put, remove, toStringkeySet, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, object2IntEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValueclear, containsKey, equals, hashCode, isEmpty, putAll, sizeapplyAsIntpublic int putAndMoveToFirst(T key, int value)
Object2IntSortedMapputAndMoveToFirst in interface Object2IntSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(T key, int value)
Object2IntSortedMapputAndMoveToLast in interface Object2IntSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2IntSortedMapmoveToFirst in interface Object2IntSortedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2IntSortedMapmoveToLast in interface Object2IntSortedMap<T>key - that should be moved to the first lastpublic int getAndMoveToFirst(T key)
Object2IntSortedMapgetAndMoveToFirst in interface Object2IntSortedMap<T>key - that is searched forpublic int getAndMoveToLast(T key)
Object2IntSortedMapgetAndMoveToLast in interface Object2IntSortedMap<T>key - that is searched forpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Integer>comparator in interface Object2IntSortedMap<T>public Object2IntSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Integer>subMap in interface Object2IntSortedMap<T>public Object2IntSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Integer>headMap in interface Object2IntSortedMap<T>public Object2IntSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Integer>tailMap in interface Object2IntSortedMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Integer>public T pollFirstKey()
Object2IntSortedMappollFirstKey in interface Object2IntSortedMap<T>public T lastKey()
lastKey in interface java.util.SortedMap<T,java.lang.Integer>public T pollLastKey()
Object2IntSortedMappollLastKey in interface Object2IntSortedMap<T>public int firstIntValue()
Object2IntSortedMapfirstIntValue in interface Object2IntSortedMap<T>public int lastIntValue()
Object2IntSortedMaplastIntValue in interface Object2IntSortedMap<T>