public interface Byte2BooleanSortedMap extends java.util.SortedMap<java.lang.Byte,java.lang.Boolean>, Byte2BooleanMap
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 |
Byte2BooleanSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Byte2BooleanMap.BuilderCache, Byte2BooleanMap.Entry, Byte2BooleanMap.FastEntrySet, Byte2BooleanMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
Byte2BooleanSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
default java.lang.Byte |
firstKey()
Deprecated.
|
Byte2BooleanSortedMap |
headMap(byte toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Byte2BooleanSortedMap |
headMap(java.lang.Byte toKey)
Deprecated.
|
ByteSortedSet |
keySet() |
boolean |
lastBooleanValue()
A method to get the last Value of a Map.
|
byte |
lastByteKey()
A method to get the last Key of a Map.
|
default java.lang.Byte |
lastKey()
Deprecated.
|
byte |
pollFirstByteKey()
A method to get and remove the first Key of a Map.
|
byte |
pollLastByteKey()
A method to get and remove the last Key of a Map.
|
Byte2BooleanSortedMap |
subMap(byte fromKey,
byte toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Byte2BooleanSortedMap |
subMap(java.lang.Byte fromKey,
java.lang.Byte toKey)
Deprecated.
|
default Byte2BooleanSortedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2BooleanSortedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Byte2BooleanSortedMap |
tailMap(byte fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Byte2BooleanSortedMap |
tailMap(java.lang.Byte fromKey)
Deprecated.
|
default Byte2BooleanSortedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
BooleanCollection |
values() |
builder, byte2BooleanEntrySet, compute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllBoolean, mergeBoolean, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValue, supplyBooleanIfAbsent, testalwaysFalse, alwaysTrue, andType, negate, orTypeByteComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>Byte2BooleanSortedMap copy()
Byte2BooleanMapcopy in interface Byte2BooleanMapByteSortedSet keySet()
keySet in interface Byte2BooleanMapkeySet in interface java.util.Map<java.lang.Byte,java.lang.Boolean>keySet in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>BooleanCollection values()
values in interface Byte2BooleanMapvalues in interface java.util.Map<java.lang.Byte,java.lang.Boolean>values in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>default Byte2BooleanSortedMap synchronize()
synchronize in interface Byte2BooleanMapByte2BooleanMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2BooleanMap)default Byte2BooleanSortedMap synchronize(java.lang.Object mutex)
synchronize in interface Byte2BooleanMapmutex - is the controller of the synchronization blockByte2BooleanMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2BooleanMap)default Byte2BooleanSortedMap unmodifiable()
unmodifiable in interface Byte2BooleanMapByte2BooleanMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2BooleanMap)Byte2BooleanSortedMap subMap(byte fromKey, byte toKey)
fromKey - where the submap should starttoKey - where the subMap should endByte2BooleanSortedMap headMap(byte toKey)
toKey - where the headMap should endByte2BooleanSortedMap tailMap(byte fromKey)
fromKey - where the TailMap should startbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
boolean firstBooleanValue()
boolean lastBooleanValue()
@Deprecated default java.lang.Byte firstKey()
firstKey in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>@Deprecated default java.lang.Byte lastKey()
lastKey in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>@Deprecated default Byte2BooleanSortedMap subMap(java.lang.Byte fromKey, java.lang.Byte toKey)
subMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>@Deprecated default Byte2BooleanSortedMap headMap(java.lang.Byte toKey)
headMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>@Deprecated default Byte2BooleanSortedMap tailMap(java.lang.Byte fromKey)
tailMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Boolean>