public interface HashCharByteMapFactory extends CharByteMapFactory<HashCharByteMapFactory>, CharHashFactory<HashCharByteMapFactory>
HashCharByteMap
s.Modifier and Type | Method and Description |
---|---|
HashCharByteMap |
newImmutableMap(char[] keys,
byte[] values)
Constructs a new immutable map with the given mappings, i.
|
HashCharByteMap |
newImmutableMap(char[] keys,
byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashCharByteMap |
newImmutableMap(Character[] keys,
Byte[] values)
Constructs a new immutable map with the given mappings, i.
|
HashCharByteMap |
newImmutableMap(Character[] keys,
Byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashCharByteMap |
newImmutableMap(Consumer<CharByteConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharByteMap |
newImmutableMap(Consumer<CharByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharByteMap |
newImmutableMap(Iterable<Character> keys,
Iterable<Byte> values)
Constructs a new immutable map with the given mappings, i.
|
HashCharByteMap |
newImmutableMap(Iterable<Character> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map)
Constructs a new immutable map with the same mappings as the specified
map . |
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
Map<Character,Byte> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
Map<Character,Byte> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newImmutableMapOf(char k1,
byte v1)
Constructs a new immutable map of the single specified mapping.
|
HashCharByteMap |
newImmutableMapOf(char k1,
byte v1,
char k2,
byte v2)
Constructs a new immutable map of the two specified mappings.
|
HashCharByteMap |
newImmutableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3)
Constructs a new immutable map of the three specified mappings.
|
HashCharByteMap |
newImmutableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3,
char k4,
byte v4)
Constructs a new immutable map of the four specified mappings.
|
HashCharByteMap |
newImmutableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3,
char k4,
byte v4,
char k5,
byte v5)
Constructs a new immutable map of the five specified mappings.
|
HashCharByteMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
HashCharByteMap |
newMutableMap(char[] keys,
byte[] values)
Constructs a new mutable map with the given mappings, i.
|
HashCharByteMap |
newMutableMap(char[] keys,
byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashCharByteMap |
newMutableMap(Character[] keys,
Byte[] values)
Constructs a new mutable map with the given mappings, i.
|
HashCharByteMap |
newMutableMap(Character[] keys,
Byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashCharByteMap |
newMutableMap(Consumer<CharByteConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharByteMap |
newMutableMap(Consumer<CharByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharByteMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
HashCharByteMap |
newMutableMap(Iterable<Character> keys,
Iterable<Byte> values)
Constructs a new mutable map with the given mappings, i.
|
HashCharByteMap |
newMutableMap(Iterable<Character> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map)
Constructs a new mutable map with the same mappings as the specified
map . |
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
Map<Character,Byte> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
Map<Character,Byte> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newMutableMapOf(char k1,
byte v1)
Constructs a new mutable map of the single specified mapping.
|
HashCharByteMap |
newMutableMapOf(char k1,
byte v1,
char k2,
byte v2)
Constructs a new mutable map of the two specified mappings.
|
HashCharByteMap |
newMutableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3)
Constructs a new mutable map of the three specified mappings.
|
HashCharByteMap |
newMutableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3,
char k4,
byte v4)
Constructs a new mutable map of the four specified mappings.
|
HashCharByteMap |
newMutableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3,
char k4,
byte v4,
char k5,
byte v5)
Constructs a new mutable map of the five specified mappings.
|
HashCharByteMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
HashCharByteMap |
newUpdatableMap(char[] keys,
byte[] values)
Constructs a new updatable map with the given mappings, i.
|
HashCharByteMap |
newUpdatableMap(char[] keys,
byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashCharByteMap |
newUpdatableMap(Character[] keys,
Byte[] values)
Constructs a new updatable map with the given mappings, i.
|
HashCharByteMap |
newUpdatableMap(Character[] keys,
Byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashCharByteMap |
newUpdatableMap(Consumer<CharByteConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashCharByteMap |
newUpdatableMap(Consumer<CharByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashCharByteMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
HashCharByteMap |
newUpdatableMap(Iterable<Character> keys,
Iterable<Byte> values)
Constructs a new updatable map with the given mappings, i.
|
HashCharByteMap |
newUpdatableMap(Iterable<Character> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map)
Constructs a new updatable map with the same mappings as the specified
map . |
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
Map<Character,Byte> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMap(Map<Character,Byte> map1,
Map<Character,Byte> map2,
Map<Character,Byte> map3,
Map<Character,Byte> map4,
Map<Character,Byte> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharByteMap |
newUpdatableMapOf(char k1,
byte v1)
Constructs a new updatable map of the single specified mapping.
|
HashCharByteMap |
newUpdatableMapOf(char k1,
byte v1,
char k2,
byte v2)
Constructs a new updatable map of the two specified mappings.
|
HashCharByteMap |
newUpdatableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3)
Constructs a new updatable map of the three specified mappings.
|
HashCharByteMap |
newUpdatableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3,
char k4,
byte v4)
Constructs a new updatable map of the four specified mappings.
|
HashCharByteMap |
newUpdatableMapOf(char k1,
byte v1,
char k2,
byte v2,
char k3,
byte v3,
char k4,
byte v4,
char k5,
byte v5)
Constructs a new updatable map of the five specified mappings.
|
getDefaultValue, withDefaultValue
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement
getHashConfig, withHashConfig
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull HashCharByteMap newMutableMap()
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
@Nonnull HashCharByteMap newMutableMap(int expectedSize)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, int expectedSize)
CharByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, int expectedSize)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, int expectedSize)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, @Nonnull Map<Character,Byte> map5, int expectedSize)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergemap5
- the fifth map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Consumer<CharByteConsumer> entriesSupplier, int expectedSize)
CharByteMapFactory
Example: TODO
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull char[] keys, @Nonnull byte[] values, int expectedSize)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same indexexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Character[] keys, @Nonnull Byte[] values, int expectedSize)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same indexexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Byte> values, int expectedSize)
CharByteMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
iterable at the same iteration positionexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map)
CharByteMapFactory
map
.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2)
CharByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashCharByteMap newMutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, @Nonnull Map<Character,Byte> map5)
CharByteMapFactory
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergemap5
- the fifth map to merge@Nonnull HashCharByteMap newMutableMap(@Nonnull Consumer<CharByteConsumer> entriesSupplier)
CharByteMapFactory
Example: TODO
newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashCharByteMap newMutableMap(@Nonnull char[] keys, @Nonnull byte[] values)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same index@Nonnull HashCharByteMap newMutableMap(@Nonnull Character[] keys, @Nonnull Byte[] values)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same index@Nonnull HashCharByteMap newMutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Byte> values)
CharByteMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newMutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
iterable at the same iteration position@Nonnull HashCharByteMap newMutableMapOf(char k1, byte v1)
CharByteMapFactory
newMutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashCharByteMap newMutableMapOf(char k1, byte v1, char k2, byte v2)
CharByteMapFactory
newMutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mapping@Nonnull HashCharByteMap newMutableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3)
CharByteMapFactory
newMutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mapping@Nonnull HashCharByteMap newMutableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3, char k4, byte v4)
CharByteMapFactory
newMutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mappingk4
- the key of the fourth mappingv4
- the value of the fourth mapping@Nonnull HashCharByteMap newMutableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3, char k4, byte v4, char k5, byte v5)
CharByteMapFactory
newMutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mappingk4
- the key of the fourth mappingv4
- the value of the fourth mappingk5
- the key of the fifth mappingv5
- the value of the fifth mapping@Nonnull HashCharByteMap newUpdatableMap()
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
@Nonnull HashCharByteMap newUpdatableMap(int expectedSize)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, int expectedSize)
CharByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, int expectedSize)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, int expectedSize)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, @Nonnull Map<Character,Byte> map5, int expectedSize)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergemap5
- the fifth map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Consumer<CharByteConsumer> entriesSupplier, int expectedSize)
CharByteMapFactory
Example: TODO
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull char[] keys, @Nonnull byte[] values, int expectedSize)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same indexexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Character[] keys, @Nonnull Byte[] values, int expectedSize)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same indexexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Byte> values, int expectedSize)
CharByteMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
iterable at the same iteration positionexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map)
CharByteMapFactory
map
.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2)
CharByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, @Nonnull Map<Character,Byte> map5)
CharByteMapFactory
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergemap5
- the fifth map to merge@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Consumer<CharByteConsumer> entriesSupplier)
CharByteMapFactory
Example: TODO
newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashCharByteMap newUpdatableMap(@Nonnull char[] keys, @Nonnull byte[] values)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same index@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Character[] keys, @Nonnull Byte[] values)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same index@Nonnull HashCharByteMap newUpdatableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Byte> values)
CharByteMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newUpdatableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
iterable at the same iteration position@Nonnull HashCharByteMap newUpdatableMapOf(char k1, byte v1)
CharByteMapFactory
newUpdatableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashCharByteMap newUpdatableMapOf(char k1, byte v1, char k2, byte v2)
CharByteMapFactory
newUpdatableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mapping@Nonnull HashCharByteMap newUpdatableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3)
CharByteMapFactory
newUpdatableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mapping@Nonnull HashCharByteMap newUpdatableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3, char k4, byte v4)
CharByteMapFactory
newUpdatableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mappingk4
- the key of the fourth mappingv4
- the value of the fourth mapping@Nonnull HashCharByteMap newUpdatableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3, char k4, byte v4, char k5, byte v5)
CharByteMapFactory
newUpdatableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mappingk4
- the key of the fourth mappingv4
- the value of the fourth mappingk5
- the key of the fifth mappingv5
- the value of the fifth mapping@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, int expectedSize)
CharByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, int expectedSize)
CharByteMapFactory
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, int expectedSize)
CharByteMapFactory
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, @Nonnull Map<Character,Byte> map5, int expectedSize)
CharByteMapFactory
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergemap5
- the fifth map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Consumer<CharByteConsumer> entriesSupplier, int expectedSize)
CharByteMapFactory
Example: TODO
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull char[] keys, @Nonnull byte[] values, int expectedSize)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same indexexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Character[] keys, @Nonnull Byte[] values, int expectedSize)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same indexexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Byte> values, int expectedSize)
CharByteMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
iterable at the same iteration positionexpectedSize
- the expected size of the returned map@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map)
CharByteMapFactory
map
.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2)
CharByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3)
CharByteMapFactory
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4)
CharByteMapFactory
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashCharByteMap newImmutableMap(@Nonnull Map<Character,Byte> map1, @Nonnull Map<Character,Byte> map2, @Nonnull Map<Character,Byte> map3, @Nonnull Map<Character,Byte> map4, @Nonnull Map<Character,Byte> map5)
CharByteMapFactory
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to mergemap5
- the fifth map to merge@Nonnull HashCharByteMap newImmutableMap(@Nonnull Consumer<CharByteConsumer> entriesSupplier)
CharByteMapFactory
Example: TODO
newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashCharByteMap newImmutableMap(@Nonnull char[] keys, @Nonnull byte[] values)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same index@Nonnull HashCharByteMap newImmutableMap(@Nonnull Character[] keys, @Nonnull Byte[] values)
CharByteMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
array at the same index@Nonnull HashCharByteMap newImmutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Byte> values)
CharByteMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newImmutableMap
in interface CharByteMapFactory<HashCharByteMapFactory>
keys
- the keys of the returned mapvalues
- the values of the returned map, each value is associated with the element
of the keys
iterable at the same iteration position@Nonnull HashCharByteMap newImmutableMapOf(char k1, byte v1)
CharByteMapFactory
newImmutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashCharByteMap newImmutableMapOf(char k1, byte v1, char k2, byte v2)
CharByteMapFactory
newImmutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mapping@Nonnull HashCharByteMap newImmutableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3)
CharByteMapFactory
newImmutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mapping@Nonnull HashCharByteMap newImmutableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3, char k4, byte v4)
CharByteMapFactory
newImmutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mappingk4
- the key of the fourth mappingv4
- the value of the fourth mapping@Nonnull HashCharByteMap newImmutableMapOf(char k1, byte v1, char k2, byte v2, char k3, byte v3, char k4, byte v4, char k5, byte v5)
CharByteMapFactory
newImmutableMapOf
in interface CharByteMapFactory<HashCharByteMapFactory>
k1
- the key of the first mappingv1
- the value of the first mappingk2
- the key of the second mappingv2
- the value of the second mappingk3
- the key of the third mappingv3
- the value of the third mappingk4
- the key of the fourth mappingv4
- the value of the fourth mappingk5
- the key of the fifth mappingv5
- the value of the fifth mapping