T - the keyType of elements maintained by this Collectionpublic interface Object2IntSortedMap<T> extends java.util.SortedMap<T,java.lang.Integer>, Object2IntMap<T>
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Object2IntSortedMap.FastSortedSet<T>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2IntMap.BuilderCache<T>, Object2IntMap.Entry<T>, Object2IntMap.FastEntrySet<T>, Object2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2IntSortedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
Object2IntSortedMap<T> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
int |
lastIntValue()
A method to get the last Value of a Map.
|
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.
|
Object2IntSortedMap<T> |
subMap(T fromKey,
T toKey) |
default Object2IntSortedMap<T> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2IntSortedMap<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Object2IntSortedMap<T> |
tailMap(T fromKey) |
default Object2IntSortedMap<T> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
IntCollection |
values() |
addTo, addToAll, applyAsInt, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, object2IntEntrySet, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, subFrom, supplyIntIfAbsentjava.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Integer>Object2IntSortedMap<T> copy()
Object2IntMapcopy in interface Object2IntMap<T>ObjectSortedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Integer>keySet in interface Object2IntMap<T>keySet in interface java.util.SortedMap<T,java.lang.Integer>IntCollection values()
values in interface java.util.Map<T,java.lang.Integer>values in interface Object2IntMap<T>values in interface java.util.SortedMap<T,java.lang.Integer>default Object2IntSortedMap<T> synchronize()
synchronize in interface Object2IntMap<T>Object2IntMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2IntMap<T>)default Object2IntSortedMap<T> synchronize(java.lang.Object mutex)
synchronize in interface Object2IntMap<T>mutex - is the controller of the synchronization blockObject2IntMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2IntMap<T>)default Object2IntSortedMap<T> unmodifiable()
unmodifiable in interface Object2IntMap<T>Object2IntMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2IntMap<T>)T pollFirstKey()
T pollLastKey()
int firstIntValue()
int lastIntValue()
Object2IntSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Integer>Object2IntSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Integer>Object2IntSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Integer>