T - the type of elements maintained by this CollectionV - the type of elements maintained by this Collectionpublic interface Object2ObjectSortedMap<T,V> extends java.util.SortedMap<T,V>, Object2ObjectMap<T,V>
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 |
Object2ObjectSortedMap.FastSortedSet<T,V>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2ObjectMap.BuilderCache<T,V>, Object2ObjectMap.Entry<T,V>, Object2ObjectMap.FastEntrySet<T,V>, Object2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2ObjectSortedMap<T,V> |
copy()
A Function that does a shallow clone of the Map itself.
|
V |
firstValue()
A method to get the first Value of a Map.
|
Object2ObjectSortedMap<T,V> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
V |
lastValue()
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.
|
Object2ObjectSortedMap<T,V> |
subMap(T fromKey,
T toKey) |
default Object2ObjectSortedMap<T,V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2ObjectSortedMap<T,V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Object2ObjectSortedMap<T,V> |
tailMap(T fromKey) |
default Object2ObjectSortedMap<T,V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
ObjectCollection<V> |
values() |
builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, entrySet, forEach, forEach, getDefaultReturnValue, merge, merge, mergeAll, object2ObjectEntrySet, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsentclear, containsKey, containsValue, equals, get, getOrDefault, hashCode, isEmpty, putAll, remove, sizeapply, getObjectjava.util.Comparator<T> comparator()
Object2ObjectSortedMap<T,V> copy()
Object2ObjectMapcopy in interface Object2ObjectMap<T,V>ObjectSortedSet<T> keySet()
ObjectCollection<V> values()
default Object2ObjectSortedMap<T,V> synchronize()
synchronize in interface Object2ObjectMap<T,V>Object2ObjectMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ObjectMap<T, V>)default Object2ObjectSortedMap<T,V> synchronize(java.lang.Object mutex)
synchronize in interface Object2ObjectMap<T,V>mutex - is the controller of the synchronization blockObject2ObjectMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ObjectMap<T, V>)default Object2ObjectSortedMap<T,V> unmodifiable()
unmodifiable in interface Object2ObjectMap<T,V>Object2ObjectMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2ObjectMap<T, V>)T pollFirstKey()
T pollLastKey()
V firstValue()
V lastValue()
Object2ObjectSortedMap<T,V> subMap(T fromKey, T toKey)
Object2ObjectSortedMap<T,V> headMap(T toKey)