public interface HashIntShortMapFactory extends IntShortMapFactory<HashIntShortMapFactory>, IntHashFactory<HashIntShortMapFactory>
HashIntShortMaps.| 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, withDefaultValuegetLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplementgetHashConfig, withHashConfiggetDefaultExpectedSize, withDefaultExpectedSize@Nonnull HashIntShortMap newMutableMap()
IntShortMapFactorynewMutableMap in interface IntShortMapFactory<HashIntShortMapFactory>@Nonnull HashIntShortMap newMutableMap(int expectedSize)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactorymap2 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)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactoryExample: 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorymap.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)
IntShortMapFactorymap2 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)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactorynewMutableMap 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)
IntShortMapFactoryExample: 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorynewMutableMapOf 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)
IntShortMapFactorynewMutableMapOf 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)
IntShortMapFactorynewMutableMapOf 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)
IntShortMapFactorynewMutableMapOf 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)
IntShortMapFactorynewMutableMapOf 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()
IntShortMapFactorynewUpdatableMap in interface IntShortMapFactory<HashIntShortMapFactory>@Nonnull HashIntShortMap newUpdatableMap(int expectedSize)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactorymap2 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)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactoryExample: 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorymap.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)
IntShortMapFactorymap2 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)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactorynewUpdatableMap 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)
IntShortMapFactoryExample: 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorynewUpdatableMapOf 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)
IntShortMapFactorynewUpdatableMapOf 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)
IntShortMapFactorynewUpdatableMapOf 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)
IntShortMapFactorynewUpdatableMapOf 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)
IntShortMapFactorynewUpdatableMapOf 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)
IntShortMapFactorymap2 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)
IntShortMapFactorynewImmutableMap 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)
IntShortMapFactorynewImmutableMap 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)
IntShortMapFactorynewImmutableMap 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)
IntShortMapFactoryExample: 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorymap.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)
IntShortMapFactorymap2 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)
IntShortMapFactorynewImmutableMap 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)
IntShortMapFactorynewImmutableMap 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)
IntShortMapFactorynewImmutableMap 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)
IntShortMapFactoryExample: 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorykeys 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)
IntShortMapFactorynewImmutableMapOf 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)
IntShortMapFactorynewImmutableMapOf 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)
IntShortMapFactorynewImmutableMapOf 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)
IntShortMapFactorynewImmutableMapOf 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)
IntShortMapFactorynewImmutableMapOf 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