public interface HashByteByteMapFactory extends ByteByteMapFactory<HashByteByteMapFactory>, ByteHashFactory<HashByteByteMapFactory>
HashByteByteMap
s.Modifier and Type | Method and Description |
---|---|
HashByteByteMap |
newImmutableMap(byte[] keys,
byte[] values)
Constructs a new immutable map with the given mappings, i.
|
HashByteByteMap |
newImmutableMap(Byte[] keys,
Byte[] values)
Constructs a new immutable map with the given mappings, i.
|
HashByteByteMap |
newImmutableMap(byte[] keys,
byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashByteByteMap |
newImmutableMap(Byte[] keys,
Byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashByteByteMap |
newImmutableMap(Consumer<ByteByteConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashByteByteMap |
newImmutableMap(Consumer<ByteByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashByteByteMap |
newImmutableMap(Iterable<Byte> keys,
Iterable<Byte> values)
Constructs a new immutable map with the given mappings, i.
|
HashByteByteMap |
newImmutableMap(Iterable<Byte> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map)
Constructs a new immutable map with the same mappings as the specified
map . |
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
Map<Byte,Byte> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
Map<Byte,Byte> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newImmutableMapOf(byte k1,
byte v1)
Constructs a new immutable map of the single specified mapping.
|
HashByteByteMap |
newImmutableMapOf(byte k1,
byte v1,
byte k2,
byte v2)
Constructs a new immutable map of the two specified mappings.
|
HashByteByteMap |
newImmutableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3)
Constructs a new immutable map of the three specified mappings.
|
HashByteByteMap |
newImmutableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3,
byte k4,
byte v4)
Constructs a new immutable map of the four specified mappings.
|
HashByteByteMap |
newImmutableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3,
byte k4,
byte v4,
byte k5,
byte v5)
Constructs a new immutable map of the five specified mappings.
|
HashByteByteMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
HashByteByteMap |
newMutableMap(byte[] keys,
byte[] values)
Constructs a new mutable map with the given mappings, i.
|
HashByteByteMap |
newMutableMap(Byte[] keys,
Byte[] values)
Constructs a new mutable map with the given mappings, i.
|
HashByteByteMap |
newMutableMap(byte[] keys,
byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashByteByteMap |
newMutableMap(Byte[] keys,
Byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashByteByteMap |
newMutableMap(Consumer<ByteByteConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashByteByteMap |
newMutableMap(Consumer<ByteByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashByteByteMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
HashByteByteMap |
newMutableMap(Iterable<Byte> keys,
Iterable<Byte> values)
Constructs a new mutable map with the given mappings, i.
|
HashByteByteMap |
newMutableMap(Iterable<Byte> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map)
Constructs a new mutable map with the same mappings as the specified
map . |
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
Map<Byte,Byte> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
Map<Byte,Byte> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newMutableMapOf(byte k1,
byte v1)
Constructs a new mutable map of the single specified mapping.
|
HashByteByteMap |
newMutableMapOf(byte k1,
byte v1,
byte k2,
byte v2)
Constructs a new mutable map of the two specified mappings.
|
HashByteByteMap |
newMutableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3)
Constructs a new mutable map of the three specified mappings.
|
HashByteByteMap |
newMutableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3,
byte k4,
byte v4)
Constructs a new mutable map of the four specified mappings.
|
HashByteByteMap |
newMutableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3,
byte k4,
byte v4,
byte k5,
byte v5)
Constructs a new mutable map of the five specified mappings.
|
HashByteByteMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
HashByteByteMap |
newUpdatableMap(byte[] keys,
byte[] values)
Constructs a new updatable map with the given mappings, i.
|
HashByteByteMap |
newUpdatableMap(Byte[] keys,
Byte[] values)
Constructs a new updatable map with the given mappings, i.
|
HashByteByteMap |
newUpdatableMap(byte[] keys,
byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashByteByteMap |
newUpdatableMap(Byte[] keys,
Byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashByteByteMap |
newUpdatableMap(Consumer<ByteByteConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashByteByteMap |
newUpdatableMap(Consumer<ByteByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashByteByteMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
HashByteByteMap |
newUpdatableMap(Iterable<Byte> keys,
Iterable<Byte> values)
Constructs a new updatable map with the given mappings, i.
|
HashByteByteMap |
newUpdatableMap(Iterable<Byte> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map)
Constructs a new updatable map with the same mappings as the specified
map . |
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
Map<Byte,Byte> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMap(Map<Byte,Byte> map1,
Map<Byte,Byte> map2,
Map<Byte,Byte> map3,
Map<Byte,Byte> map4,
Map<Byte,Byte> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashByteByteMap |
newUpdatableMapOf(byte k1,
byte v1)
Constructs a new updatable map of the single specified mapping.
|
HashByteByteMap |
newUpdatableMapOf(byte k1,
byte v1,
byte k2,
byte v2)
Constructs a new updatable map of the two specified mappings.
|
HashByteByteMap |
newUpdatableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3)
Constructs a new updatable map of the three specified mappings.
|
HashByteByteMap |
newUpdatableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3,
byte k4,
byte v4)
Constructs a new updatable map of the four specified mappings.
|
HashByteByteMap |
newUpdatableMapOf(byte k1,
byte v1,
byte k2,
byte v2,
byte k3,
byte v3,
byte k4,
byte v4,
byte k5,
byte v5)
Constructs a new updatable map of the five specified mappings.
|
getDefaultValue, withDefaultValue
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement
getHashConfig, withHashConfig
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull HashByteByteMap newMutableMap()
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
@Nonnull HashByteByteMap newMutableMap(int expectedSize)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, int expectedSize)
ByteByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, int expectedSize)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, int expectedSize)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, @Nonnull Map<Byte,Byte> map5, int expectedSize)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Consumer<ByteByteConsumer> entriesSupplier, int expectedSize)
ByteByteMapFactory
Example: TODO
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newMutableMap(@Nonnull byte[] keys, @Nonnull byte[] values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Byte[] keys, @Nonnull Byte[] values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Iterable<Byte> keys, @Nonnull Iterable<Byte> values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map)
ByteByteMapFactory
map
.newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2)
ByteByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashByteByteMap newMutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, @Nonnull Map<Byte,Byte> map5)
ByteByteMapFactory
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Consumer<ByteByteConsumer> entriesSupplier)
ByteByteMapFactory
Example: TODO
newMutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashByteByteMap newMutableMap(@Nonnull byte[] keys, @Nonnull byte[] values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Byte[] keys, @Nonnull Byte[] values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMap(@Nonnull Iterable<Byte> keys, @Nonnull Iterable<Byte> values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMapOf(byte k1, byte v1)
ByteByteMapFactory
newMutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashByteByteMap newMutableMapOf(byte k1, byte v1, byte k2, byte v2)
ByteByteMapFactory
newMutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3)
ByteByteMapFactory
newMutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3, byte k4, byte v4)
ByteByteMapFactory
newMutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newMutableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3, byte k4, byte v4, byte k5, byte v5)
ByteByteMapFactory
newMutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap()
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
@Nonnull HashByteByteMap newUpdatableMap(int expectedSize)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, int expectedSize)
ByteByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, int expectedSize)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, int expectedSize)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, @Nonnull Map<Byte,Byte> map5, int expectedSize)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Consumer<ByteByteConsumer> entriesSupplier, int expectedSize)
ByteByteMapFactory
Example: TODO
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newUpdatableMap(@Nonnull byte[] keys, @Nonnull byte[] values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Byte[] keys, @Nonnull Byte[] values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Iterable<Byte> keys, @Nonnull Iterable<Byte> values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map)
ByteByteMapFactory
map
.newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2)
ByteByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashByteByteMap newUpdatableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, @Nonnull Map<Byte,Byte> map5)
ByteByteMapFactory
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Consumer<ByteByteConsumer> entriesSupplier)
ByteByteMapFactory
Example: TODO
newUpdatableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashByteByteMap newUpdatableMap(@Nonnull byte[] keys, @Nonnull byte[] values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Byte[] keys, @Nonnull Byte[] values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMap(@Nonnull Iterable<Byte> keys, @Nonnull Iterable<Byte> values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMapOf(byte k1, byte v1)
ByteByteMapFactory
newUpdatableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashByteByteMap newUpdatableMapOf(byte k1, byte v1, byte k2, byte v2)
ByteByteMapFactory
newUpdatableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3)
ByteByteMapFactory
newUpdatableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3, byte k4, byte v4)
ByteByteMapFactory
newUpdatableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newUpdatableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3, byte k4, byte v4, byte k5, byte v5)
ByteByteMapFactory
newUpdatableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, int expectedSize)
ByteByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, int expectedSize)
ByteByteMapFactory
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, int expectedSize)
ByteByteMapFactory
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, @Nonnull Map<Byte,Byte> map5, int expectedSize)
ByteByteMapFactory
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Consumer<ByteByteConsumer> entriesSupplier, int expectedSize)
ByteByteMapFactory
Example: TODO
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashByteByteMap newImmutableMap(@Nonnull byte[] keys, @Nonnull byte[] values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Byte[] keys, @Nonnull Byte[] values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Iterable<Byte> keys, @Nonnull Iterable<Byte> values, int expectedSize)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map)
ByteByteMapFactory
map
.newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2)
ByteByteMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3)
ByteByteMapFactory
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4)
ByteByteMapFactory
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashByteByteMap newImmutableMap(@Nonnull Map<Byte,Byte> map1, @Nonnull Map<Byte,Byte> map2, @Nonnull Map<Byte,Byte> map3, @Nonnull Map<Byte,Byte> map4, @Nonnull Map<Byte,Byte> map5)
ByteByteMapFactory
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Consumer<ByteByteConsumer> entriesSupplier)
ByteByteMapFactory
Example: TODO
newImmutableMap
in interface ByteByteMapFactory<HashByteByteMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashByteByteMap newImmutableMap(@Nonnull byte[] keys, @Nonnull byte[] values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Byte[] keys, @Nonnull Byte[] values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMap(@Nonnull Iterable<Byte> keys, @Nonnull Iterable<Byte> values)
ByteByteMapFactory
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 ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMapOf(byte k1, byte v1)
ByteByteMapFactory
newImmutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashByteByteMap newImmutableMapOf(byte k1, byte v1, byte k2, byte v2)
ByteByteMapFactory
newImmutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3)
ByteByteMapFactory
newImmutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3, byte k4, byte v4)
ByteByteMapFactory
newImmutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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 HashByteByteMap newImmutableMapOf(byte k1, byte v1, byte k2, byte v2, byte k3, byte v3, byte k4, byte v4, byte k5, byte v5)
ByteByteMapFactory
newImmutableMapOf
in interface ByteByteMapFactory<HashByteByteMapFactory>
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