public static class Long2BooleanMaps.UnmodifyableSortedMap extends Long2BooleanMaps.UnmodifyableMap implements Long2BooleanSortedMap
AbstractLong2BooleanMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2BooleanSortedMap.FastSortedSetLong2BooleanMap.Entry, Long2BooleanMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
boolean |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
boolean |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
Long2BooleanSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
boolean |
lastBooleanValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
boolean |
putAndMoveToFirst(long key,
boolean value)
A customized put method that allows you to insert into the first index.
|
boolean |
putAndMoveToLast(long key,
boolean value)
A customized put method that allows you to insert into the last index.
|
Long2BooleanSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2BooleanSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
getBoolean, getOrDefault, keySet, long2BooleanEntrySet, put, putIfAbsent, remLong, remLongOrDefault, remove, 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, long2BooleanEntrySet, merge, mergeAllBoolean, mergeBoolean, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValuepublic boolean putAndMoveToFirst(long key,
boolean value)
Long2BooleanSortedMapputAndMoveToFirst in interface Long2BooleanSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean putAndMoveToLast(long key,
boolean value)
Long2BooleanSortedMapputAndMoveToLast in interface Long2BooleanSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2BooleanSortedMapmoveToFirst in interface Long2BooleanSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2BooleanSortedMapmoveToLast in interface Long2BooleanSortedMapkey - that should be moved to the first lastpublic boolean getAndMoveToFirst(long key)
Long2BooleanSortedMapgetAndMoveToFirst in interface Long2BooleanSortedMapkey - that is searched forpublic boolean getAndMoveToLast(long key)
Long2BooleanSortedMapgetAndMoveToLast in interface Long2BooleanSortedMapkey - that is searched forpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Boolean>comparator in interface Long2BooleanSortedMappublic Long2BooleanSortedMap subMap(long fromKey, long toKey)
Long2BooleanSortedMapsubMap in interface Long2BooleanSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2BooleanSortedMap headMap(long toKey)
Long2BooleanSortedMapheadMap in interface Long2BooleanSortedMaptoKey - where the headMap should endpublic Long2BooleanSortedMap tailMap(long fromKey)
Long2BooleanSortedMaptailMap in interface Long2BooleanSortedMapfromKey - where the TailMap should startpublic long firstLongKey()
Long2BooleanSortedMapfirstLongKey in interface Long2BooleanSortedMappublic long pollFirstLongKey()
Long2BooleanSortedMappollFirstLongKey in interface Long2BooleanSortedMappublic long lastLongKey()
Long2BooleanSortedMaplastLongKey in interface Long2BooleanSortedMappublic long pollLastLongKey()
Long2BooleanSortedMappollLastLongKey in interface Long2BooleanSortedMappublic boolean firstBooleanValue()
Long2BooleanSortedMapfirstBooleanValue in interface Long2BooleanSortedMappublic boolean lastBooleanValue()
Long2BooleanSortedMaplastBooleanValue in interface Long2BooleanSortedMap