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