public static class Short2BooleanMaps.UnmodifyableSortedMap extends Short2BooleanMaps.UnmodifyableMap implements Short2BooleanSortedMap
AbstractShort2BooleanMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2BooleanSortedMap.FastSortedSetShort2BooleanMap.Entry, Short2BooleanMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
boolean |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
boolean |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
Short2BooleanSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
boolean |
lastBooleanValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
boolean |
putAndMoveToFirst(short key,
boolean value)
A customized put method that allows you to insert into the first index.
|
boolean |
putAndMoveToLast(short key,
boolean value)
A customized put method that allows you to insert into the last index.
|
Short2BooleanSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2BooleanSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
getBoolean, getOrDefault, keySet, put, putIfAbsent, remove, remShort, remShortOrDefault, short2BooleanEntrySet, valuescomputeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllBoolean, mergeBoolean, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceBooleans, replaceBooleans, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuescompute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getBoolean, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllBoolean, mergeBoolean, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValue, short2BooleanEntrySetpublic boolean putAndMoveToFirst(short key,
boolean value)
Short2BooleanSortedMapputAndMoveToFirst in interface Short2BooleanSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean putAndMoveToLast(short key,
boolean value)
Short2BooleanSortedMapputAndMoveToLast in interface Short2BooleanSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2BooleanSortedMapmoveToFirst in interface Short2BooleanSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2BooleanSortedMapmoveToLast in interface Short2BooleanSortedMapkey - that should be moved to the first lastpublic boolean getAndMoveToFirst(short key)
Short2BooleanSortedMapgetAndMoveToFirst in interface Short2BooleanSortedMapkey - that is searched forpublic boolean getAndMoveToLast(short key)
Short2BooleanSortedMapgetAndMoveToLast in interface Short2BooleanSortedMapkey - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Boolean>comparator in interface Short2BooleanSortedMappublic Short2BooleanSortedMap subMap(short fromKey, short toKey)
Short2BooleanSortedMapsubMap in interface Short2BooleanSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Short2BooleanSortedMap headMap(short toKey)
Short2BooleanSortedMapheadMap in interface Short2BooleanSortedMaptoKey - where the headMap should endpublic Short2BooleanSortedMap tailMap(short fromKey)
Short2BooleanSortedMaptailMap in interface Short2BooleanSortedMapfromKey - where the TailMap should startpublic short firstShortKey()
Short2BooleanSortedMapfirstShortKey in interface Short2BooleanSortedMappublic short pollFirstShortKey()
Short2BooleanSortedMappollFirstShortKey in interface Short2BooleanSortedMappublic short lastShortKey()
Short2BooleanSortedMaplastShortKey in interface Short2BooleanSortedMappublic short pollLastShortKey()
Short2BooleanSortedMappollLastShortKey in interface Short2BooleanSortedMappublic boolean firstBooleanValue()
Short2BooleanSortedMapfirstBooleanValue in interface Short2BooleanSortedMappublic boolean lastBooleanValue()
Short2BooleanSortedMaplastBooleanValue in interface Short2BooleanSortedMap