T - the type of elements maintained by this Collectionpublic interface Object2BooleanSortedMap<T> extends java.util.SortedMap<T,java.lang.Boolean>, Object2BooleanMap<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 |
Object2BooleanSortedMap.FastSortedSet<T>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2BooleanMap.BuilderCache<T>, Object2BooleanMap.Entry<T>, Object2BooleanMap.FastEntrySet<T>, Object2BooleanMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2BooleanSortedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
Object2BooleanSortedMap<T> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
boolean |
lastBooleanValue()
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.
|
Object2BooleanSortedMap<T> |
subMap(T fromKey,
T toKey) |
default Object2BooleanSortedMap<T> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2BooleanSortedMap<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Object2BooleanSortedMap<T> |
tailMap(T fromKey) |
default Object2BooleanSortedMap<T> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
BooleanCollection |
values() |
builder, compute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getBoolean, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllBoolean, mergeBoolean, object2BooleanEntrySet, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValue, supplyBooleanIfAbsentclear, containsKey, equals, hashCode, isEmpty, putAll, sizejava.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Boolean>Object2BooleanSortedMap<T> copy()
Object2BooleanMapcopy in interface Object2BooleanMap<T>ObjectSortedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Boolean>keySet in interface Object2BooleanMap<T>keySet in interface java.util.SortedMap<T,java.lang.Boolean>BooleanCollection values()
values in interface java.util.Map<T,java.lang.Boolean>values in interface Object2BooleanMap<T>values in interface java.util.SortedMap<T,java.lang.Boolean>default Object2BooleanSortedMap<T> synchronize()
synchronize in interface Object2BooleanMap<T>Object2BooleanMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2BooleanMap<T>)default Object2BooleanSortedMap<T> synchronize(java.lang.Object mutex)
synchronize in interface Object2BooleanMap<T>mutex - is the controller of the synchronization blockObject2BooleanMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2BooleanMap<T>)default Object2BooleanSortedMap<T> unmodifiable()
unmodifiable in interface Object2BooleanMap<T>Object2BooleanMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2BooleanMap<T>)T pollFirstKey()
T pollLastKey()
boolean firstBooleanValue()
boolean lastBooleanValue()
Object2BooleanSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Boolean>Object2BooleanSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Boolean>Object2BooleanSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Boolean>