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