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