public interface HashShortIntMapFactory extends ShortIntMapFactory<HashShortIntMapFactory>, ShortHashFactory<HashShortIntMapFactory>
HashShortIntMaps.| Modifier and Type | Method and Description |
|---|---|
HashShortIntMap |
newImmutableMap(Consumer<ShortIntConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortIntMap |
newImmutableMap(Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortIntMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Integer> values)
Constructs a new immutable map with the given mappings, i.
|
HashShortIntMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Integer> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map)
Constructs a new immutable map with the same mappings as the specified
map. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newImmutableMap(short[] keys,
int[] values)
Constructs a new immutable map with the given mappings, i.
|
HashShortIntMap |
newImmutableMap(short[] keys,
int[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashShortIntMap |
newImmutableMap(Short[] keys,
Integer[] values)
Constructs a new immutable map with the given mappings, i.
|
HashShortIntMap |
newImmutableMap(Short[] keys,
Integer[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashShortIntMap |
newImmutableMapOf(short k1,
int v1)
Constructs a new immutable map of the single specified mapping.
|
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2)
Constructs a new immutable map of the two specified mappings.
|
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
Constructs a new immutable map of the three specified mappings.
|
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
Constructs a new immutable map of the four specified mappings.
|
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
Constructs a new immutable map of the five specified mappings.
|
HashShortIntMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
HashShortIntMap |
newMutableMap(Consumer<ShortIntConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortIntMap |
newMutableMap(Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortIntMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
HashShortIntMap |
newMutableMap(Iterable<Short> keys,
Iterable<Integer> values)
Constructs a new mutable map with the given mappings, i.
|
HashShortIntMap |
newMutableMap(Iterable<Short> keys,
Iterable<Integer> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map)
Constructs a new mutable map with the same mappings as the specified
map. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newMutableMap(short[] keys,
int[] values)
Constructs a new mutable map with the given mappings, i.
|
HashShortIntMap |
newMutableMap(short[] keys,
int[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashShortIntMap |
newMutableMap(Short[] keys,
Integer[] values)
Constructs a new mutable map with the given mappings, i.
|
HashShortIntMap |
newMutableMap(Short[] keys,
Integer[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashShortIntMap |
newMutableMapOf(short k1,
int v1)
Constructs a new mutable map of the single specified mapping.
|
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2)
Constructs a new mutable map of the two specified mappings.
|
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
Constructs a new mutable map of the three specified mappings.
|
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
Constructs a new mutable map of the four specified mappings.
|
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
Constructs a new mutable map of the five specified mappings.
|
HashShortIntMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
HashShortIntMap |
newUpdatableMap(Consumer<ShortIntConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashShortIntMap |
newUpdatableMap(Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashShortIntMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
HashShortIntMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Integer> values)
Constructs a new updatable map with the given mappings, i.
|
HashShortIntMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Integer> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map)
Constructs a new updatable map with the same mappings as the specified
map. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortIntMap |
newUpdatableMap(short[] keys,
int[] values)
Constructs a new updatable map with the given mappings, i.
|
HashShortIntMap |
newUpdatableMap(short[] keys,
int[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashShortIntMap |
newUpdatableMap(Short[] keys,
Integer[] values)
Constructs a new updatable map with the given mappings, i.
|
HashShortIntMap |
newUpdatableMap(Short[] keys,
Integer[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1)
Constructs a new updatable map of the single specified mapping.
|
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2)
Constructs a new updatable map of the two specified mappings.
|
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
Constructs a new updatable map of the three specified mappings.
|
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
Constructs a new updatable map of the four specified mappings.
|
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
Constructs a new updatable map of the five specified mappings.
|
getDefaultValue, withDefaultValuegetLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplementgetHashConfig, withHashConfiggetDefaultExpectedSize, withDefaultExpectedSize@Nonnull HashShortIntMap newMutableMap()
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>@Nonnull HashShortIntMap newMutableMap(int expectedSize)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>expectedSize - the expected size of the returned map@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, int expectedSize)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, int expectedSize)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, int expectedSize)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, @Nonnull Map<Short,Integer> map5, int expectedSize)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Consumer<ShortIntConsumer> entriesSupplier, int expectedSize)
ShortIntMapFactoryExample: TODO
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newMutableMap(@Nonnull short[] keys, @Nonnull int[] values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Short[] keys, @Nonnull Integer[] values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Integer> values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map)
ShortIntMapFactorymap.newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map - the map whose mappings are to be placed in the returned mapmap@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to merge@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge@Nonnull HashShortIntMap newMutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, @Nonnull Map<Short,Integer> map5)
ShortIntMapFactorynewMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Consumer<ShortIntConsumer> entriesSupplier)
ShortIntMapFactoryExample: TODO
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in@Nonnull HashShortIntMap newMutableMap(@Nonnull short[] keys, @Nonnull int[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Short[] keys, @Nonnull Integer[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Integer> values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMapOf(short k1, int v1)
ShortIntMapFactorynewMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping@Nonnull HashShortIntMap newMutableMapOf(short k1, int v1, short k2, int v2)
ShortIntMapFactorynewMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMapOf(short k1, int v1, short k2, int v2, short k3, int v3)
ShortIntMapFactorynewMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMapOf(short k1, int v1, short k2, int v2, short k3, int v3, short k4, int v4)
ShortIntMapFactorynewMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newMutableMapOf(short k1, int v1, short k2, int v2, short k3, int v3, short k4, int v4, short k5, int v5)
ShortIntMapFactorynewMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap()
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>@Nonnull HashShortIntMap newUpdatableMap(int expectedSize)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>expectedSize - the expected size of the returned map@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, int expectedSize)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, int expectedSize)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, int expectedSize)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, @Nonnull Map<Short,Integer> map5, int expectedSize)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Consumer<ShortIntConsumer> entriesSupplier, int expectedSize)
ShortIntMapFactoryExample: TODO
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newUpdatableMap(@Nonnull short[] keys, @Nonnull int[] values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Short[] keys, @Nonnull Integer[] values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Integer> values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map)
ShortIntMapFactorymap.newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map - the map whose mappings are to be placed in the returned mapmap@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to merge@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge@Nonnull HashShortIntMap newUpdatableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, @Nonnull Map<Short,Integer> map5)
ShortIntMapFactorynewUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Consumer<ShortIntConsumer> entriesSupplier)
ShortIntMapFactoryExample: TODO
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in@Nonnull HashShortIntMap newUpdatableMap(@Nonnull short[] keys, @Nonnull int[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Short[] keys, @Nonnull Integer[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Integer> values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMapOf(short k1, int v1)
ShortIntMapFactorynewUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping@Nonnull HashShortIntMap newUpdatableMapOf(short k1, int v1, short k2, int v2)
ShortIntMapFactorynewUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMapOf(short k1, int v1, short k2, int v2, short k3, int v3)
ShortIntMapFactorynewUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMapOf(short k1, int v1, short k2, int v2, short k3, int v3, short k4, int v4)
ShortIntMapFactorynewUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMapOf(short k1, int v1, short k2, int v2, short k3, int v3, short k4, int v4, short k5, int v5)
ShortIntMapFactorynewUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, int expectedSize)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, int expectedSize)
ShortIntMapFactorynewImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, int expectedSize)
ShortIntMapFactorynewImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, @Nonnull Map<Short,Integer> map5, int expectedSize)
ShortIntMapFactorynewImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Consumer<ShortIntConsumer> entriesSupplier, int expectedSize)
ShortIntMapFactoryExample: TODO
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map@Nonnull HashShortIntMap newImmutableMap(@Nonnull short[] keys, @Nonnull int[] values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Short[] keys, @Nonnull Integer[] values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Integer> values, int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map)
ShortIntMapFactorymap.newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map - the map whose mappings are to be placed in the returned mapmap@Nonnull HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to merge@Nonnull HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3)
ShortIntMapFactorynewImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge@Nonnull HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4)
ShortIntMapFactorynewImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge@Nonnull HashShortIntMap newImmutableMap(@Nonnull Map<Short,Integer> map1, @Nonnull Map<Short,Integer> map2, @Nonnull Map<Short,Integer> map3, @Nonnull Map<Short,Integer> map4, @Nonnull Map<Short,Integer> map5)
ShortIntMapFactorynewImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Consumer<ShortIntConsumer> entriesSupplier)
ShortIntMapFactoryExample: TODO
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in@Nonnull HashShortIntMap newImmutableMap(@Nonnull short[] keys, @Nonnull int[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Short[] keys, @Nonnull Integer[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Integer> values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMapOf(short k1, int v1)
ShortIntMapFactorynewImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping@Nonnull HashShortIntMap newImmutableMapOf(short k1, int v1, short k2, int v2)
ShortIntMapFactorynewImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMapOf(short k1, int v1, short k2, int v2, short k3, int v3)
ShortIntMapFactorynewImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMapOf(short k1, int v1, short k2, int v2, short k3, int v3, short k4, int v4)
ShortIntMapFactorynewImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newImmutableMapOf(short k1, int v1, short k2, int v2, short k3, int v3, short k4, int v4, short k5, int v5)
ShortIntMapFactorynewImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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