T - the type of elements maintained by this Collectionpublic static class Object2BooleanMaps.UnmodifyableSortedMap<T> extends Object2BooleanMaps.UnmodifyableMap<T> implements Object2BooleanSortedMap<T>
AbstractObject2BooleanMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2BooleanSortedMap.FastSortedSet<T>Object2BooleanMap.Entry<T>, Object2BooleanMap.FastEntrySet<T>| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
T |
firstKey() |
boolean |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
boolean |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
Object2BooleanSortedMap<T> |
headMap(T toKey) |
boolean |
lastBooleanValue()
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.
|
boolean |
putAndMoveToFirst(T key,
boolean value)
A customized put method that allows you to insert into the first index.
|
boolean |
putAndMoveToLast(T key,
boolean value)
A customized put method that allows you to insert into the last index.
|
Object2BooleanSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2BooleanSortedMap<T> |
tailMap(T fromKey) |
getBoolean, getOrDefault, keySet, object2BooleanEntrySet, put, putIfAbsent, rem, remOrDefault, remove, valuescomputeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllBoolean, mergeBoolean, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceBooleans, replaceBooleans, setDefaultReturnValueclear, containsValue, isEmpty, put, remove, size, toStringkeySet, valuescompute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getBoolean, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllBoolean, mergeBoolean, object2BooleanEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValueclear, containsKey, equals, hashCode, isEmpty, putAll, sizepublic boolean putAndMoveToFirst(T key, boolean value)
Object2BooleanSortedMapputAndMoveToFirst in interface Object2BooleanSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean putAndMoveToLast(T key, boolean value)
Object2BooleanSortedMapputAndMoveToLast in interface Object2BooleanSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2BooleanSortedMapmoveToFirst in interface Object2BooleanSortedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2BooleanSortedMapmoveToLast in interface Object2BooleanSortedMap<T>key - that should be moved to the first lastpublic boolean getAndMoveToFirst(T key)
Object2BooleanSortedMapgetAndMoveToFirst in interface Object2BooleanSortedMap<T>key - that is searched forpublic boolean getAndMoveToLast(T key)
Object2BooleanSortedMapgetAndMoveToLast in interface Object2BooleanSortedMap<T>key - that is searched forpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Boolean>comparator in interface Object2BooleanSortedMap<T>public Object2BooleanSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Boolean>subMap in interface Object2BooleanSortedMap<T>public Object2BooleanSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Boolean>headMap in interface Object2BooleanSortedMap<T>public Object2BooleanSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Boolean>tailMap in interface Object2BooleanSortedMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Boolean>public T pollFirstKey()
Object2BooleanSortedMappollFirstKey in interface Object2BooleanSortedMap<T>public T lastKey()
lastKey in interface java.util.SortedMap<T,java.lang.Boolean>public T pollLastKey()
Object2BooleanSortedMappollLastKey in interface Object2BooleanSortedMap<T>public boolean firstBooleanValue()
Object2BooleanSortedMapfirstBooleanValue in interface Object2BooleanSortedMap<T>public boolean lastBooleanValue()
Object2BooleanSortedMaplastBooleanValue in interface Object2BooleanSortedMap<T>