T - the type of elements maintained by this Collectionpublic interface Object2DoubleSortedMap<T> extends java.util.SortedMap<T,java.lang.Double>, Object2DoubleMap<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 |
Object2DoubleSortedMap.FastSortedSet<T>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2DoubleMap.BuilderCache<T>, Object2DoubleMap.Entry<T>, Object2DoubleMap.FastEntrySet<T>, Object2DoubleMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2DoubleSortedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
Object2DoubleSortedMap<T> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
double |
lastDoubleValue()
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.
|
Object2DoubleSortedMap<T> |
subMap(T fromKey,
T toKey) |
default Object2DoubleSortedMap<T> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2DoubleSortedMap<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Object2DoubleSortedMap<T> |
tailMap(T fromKey) |
default Object2DoubleSortedMap<T> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
DoubleCollection |
values() |
addTo, addToAll, builder, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getDouble, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, object2DoubleEntrySet, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, subFrom, supplyDoubleIfAbsentclear, containsKey, equals, hashCode, isEmpty, putAll, sizeapplyAsDoublejava.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Double>Object2DoubleSortedMap<T> copy()
Object2DoubleMapcopy in interface Object2DoubleMap<T>ObjectSortedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Double>keySet in interface Object2DoubleMap<T>keySet in interface java.util.SortedMap<T,java.lang.Double>DoubleCollection values()
values in interface java.util.Map<T,java.lang.Double>values in interface Object2DoubleMap<T>values in interface java.util.SortedMap<T,java.lang.Double>default Object2DoubleSortedMap<T> synchronize()
synchronize in interface Object2DoubleMap<T>Object2DoubleMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2DoubleMap<T>)default Object2DoubleSortedMap<T> synchronize(java.lang.Object mutex)
synchronize in interface Object2DoubleMap<T>mutex - is the controller of the synchronization blockObject2DoubleMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2DoubleMap<T>)default Object2DoubleSortedMap<T> unmodifiable()
unmodifiable in interface Object2DoubleMap<T>Object2DoubleMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2DoubleMap<T>)T pollFirstKey()
T pollLastKey()
double firstDoubleValue()
double lastDoubleValue()
Object2DoubleSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Double>Object2DoubleSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Double>Object2DoubleSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Double>