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