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