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