public interface HashShortFloatMapFactory extends ShortFloatMapFactory<HashShortFloatMapFactory>, ShortHashFactory<HashShortFloatMapFactory>
HashShortFloatMap
s.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, withDefaultValue
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement
getHashConfig, withHashConfig
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull HashShortFloatMap newMutableMap()
ShortFloatMapFactory
newMutableMap
in interface ShortFloatMapFactory<HashShortFloatMapFactory>
@Nonnull HashShortFloatMap newMutableMap(int expectedSize)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
map2
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)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
Example: 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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
map
.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)
ShortFloatMapFactory
map2
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)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
newMutableMap
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)
ShortFloatMapFactory
Example: 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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
newMutableMapOf
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)
ShortFloatMapFactory
newMutableMapOf
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)
ShortFloatMapFactory
newMutableMapOf
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)
ShortFloatMapFactory
newMutableMapOf
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)
ShortFloatMapFactory
newMutableMapOf
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()
ShortFloatMapFactory
newUpdatableMap
in interface ShortFloatMapFactory<HashShortFloatMapFactory>
@Nonnull HashShortFloatMap newUpdatableMap(int expectedSize)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
map2
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)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
Example: 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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
map
.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)
ShortFloatMapFactory
map2
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)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
newUpdatableMap
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)
ShortFloatMapFactory
Example: 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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
newUpdatableMapOf
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)
ShortFloatMapFactory
newUpdatableMapOf
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)
ShortFloatMapFactory
newUpdatableMapOf
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)
ShortFloatMapFactory
newUpdatableMapOf
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)
ShortFloatMapFactory
newUpdatableMapOf
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)
ShortFloatMapFactory
map2
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)
ShortFloatMapFactory
newImmutableMap
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)
ShortFloatMapFactory
newImmutableMap
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)
ShortFloatMapFactory
newImmutableMap
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)
ShortFloatMapFactory
Example: 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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
map
.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)
ShortFloatMapFactory
map2
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)
ShortFloatMapFactory
newImmutableMap
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)
ShortFloatMapFactory
newImmutableMap
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)
ShortFloatMapFactory
newImmutableMap
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)
ShortFloatMapFactory
Example: 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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
keys
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)
ShortFloatMapFactory
newImmutableMapOf
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)
ShortFloatMapFactory
newImmutableMapOf
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)
ShortFloatMapFactory
newImmutableMapOf
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)
ShortFloatMapFactory
newImmutableMapOf
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)
ShortFloatMapFactory
newImmutableMapOf
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