public interface HashIntFloatMapFactory extends IntFloatMapFactory<HashIntFloatMapFactory>, IntHashFactory<HashIntFloatMapFactory>
HashIntFloatMap
s.Modifier and Type | Method and Description |
---|---|
HashIntFloatMap |
newImmutableMap(Consumer<IntFloatConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntFloatMap |
newImmutableMap(Consumer<IntFloatConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntFloatMap |
newImmutableMap(int[] keys,
float[] values)
Constructs a new immutable map with the given mappings, i.
|
HashIntFloatMap |
newImmutableMap(int[] keys,
float[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashIntFloatMap |
newImmutableMap(Integer[] keys,
Float[] values)
Constructs a new immutable map with the given mappings, i.
|
HashIntFloatMap |
newImmutableMap(Integer[] keys,
Float[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashIntFloatMap |
newImmutableMap(Iterable<Integer> keys,
Iterable<Float> values)
Constructs a new immutable map with the given mappings, i.
|
HashIntFloatMap |
newImmutableMap(Iterable<Integer> keys,
Iterable<Float> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map)
Constructs a new immutable map with the same mappings as the specified
map . |
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
Map<Integer,Float> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
Map<Integer,Float> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newImmutableMapOf(int k1,
float v1)
Constructs a new immutable map of the single specified mapping.
|
HashIntFloatMap |
newImmutableMapOf(int k1,
float v1,
int k2,
float v2)
Constructs a new immutable map of the two specified mappings.
|
HashIntFloatMap |
newImmutableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3)
Constructs a new immutable map of the three specified mappings.
|
HashIntFloatMap |
newImmutableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3,
int k4,
float v4)
Constructs a new immutable map of the four specified mappings.
|
HashIntFloatMap |
newImmutableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3,
int k4,
float v4,
int k5,
float v5)
Constructs a new immutable map of the five specified mappings.
|
HashIntFloatMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
HashIntFloatMap |
newMutableMap(Consumer<IntFloatConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntFloatMap |
newMutableMap(Consumer<IntFloatConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashIntFloatMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
HashIntFloatMap |
newMutableMap(int[] keys,
float[] values)
Constructs a new mutable map with the given mappings, i.
|
HashIntFloatMap |
newMutableMap(int[] keys,
float[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashIntFloatMap |
newMutableMap(Integer[] keys,
Float[] values)
Constructs a new mutable map with the given mappings, i.
|
HashIntFloatMap |
newMutableMap(Integer[] keys,
Float[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashIntFloatMap |
newMutableMap(Iterable<Integer> keys,
Iterable<Float> values)
Constructs a new mutable map with the given mappings, i.
|
HashIntFloatMap |
newMutableMap(Iterable<Integer> keys,
Iterable<Float> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map)
Constructs a new mutable map with the same mappings as the specified
map . |
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
Map<Integer,Float> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
Map<Integer,Float> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newMutableMapOf(int k1,
float v1)
Constructs a new mutable map of the single specified mapping.
|
HashIntFloatMap |
newMutableMapOf(int k1,
float v1,
int k2,
float v2)
Constructs a new mutable map of the two specified mappings.
|
HashIntFloatMap |
newMutableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3)
Constructs a new mutable map of the three specified mappings.
|
HashIntFloatMap |
newMutableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3,
int k4,
float v4)
Constructs a new mutable map of the four specified mappings.
|
HashIntFloatMap |
newMutableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3,
int k4,
float v4,
int k5,
float v5)
Constructs a new mutable map of the five specified mappings.
|
HashIntFloatMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
HashIntFloatMap |
newUpdatableMap(Consumer<IntFloatConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashIntFloatMap |
newUpdatableMap(Consumer<IntFloatConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashIntFloatMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
HashIntFloatMap |
newUpdatableMap(int[] keys,
float[] values)
Constructs a new updatable map with the given mappings, i.
|
HashIntFloatMap |
newUpdatableMap(int[] keys,
float[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashIntFloatMap |
newUpdatableMap(Integer[] keys,
Float[] values)
Constructs a new updatable map with the given mappings, i.
|
HashIntFloatMap |
newUpdatableMap(Integer[] keys,
Float[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashIntFloatMap |
newUpdatableMap(Iterable<Integer> keys,
Iterable<Float> values)
Constructs a new updatable map with the given mappings, i.
|
HashIntFloatMap |
newUpdatableMap(Iterable<Integer> keys,
Iterable<Float> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map)
Constructs a new updatable map with the same mappings as the specified
map . |
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
Map<Integer,Float> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMap(Map<Integer,Float> map1,
Map<Integer,Float> map2,
Map<Integer,Float> map3,
Map<Integer,Float> map4,
Map<Integer,Float> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashIntFloatMap |
newUpdatableMapOf(int k1,
float v1)
Constructs a new updatable map of the single specified mapping.
|
HashIntFloatMap |
newUpdatableMapOf(int k1,
float v1,
int k2,
float v2)
Constructs a new updatable map of the two specified mappings.
|
HashIntFloatMap |
newUpdatableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3)
Constructs a new updatable map of the three specified mappings.
|
HashIntFloatMap |
newUpdatableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3,
int k4,
float v4)
Constructs a new updatable map of the four specified mappings.
|
HashIntFloatMap |
newUpdatableMapOf(int k1,
float v1,
int k2,
float v2,
int k3,
float v3,
int k4,
float v4,
int k5,
float v5)
Constructs a new updatable map of the five specified mappings.
|
getDefaultValue, withDefaultValue
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement
getHashConfig, withHashConfig
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull HashIntFloatMap newMutableMap()
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
@Nonnull HashIntFloatMap newMutableMap(int expectedSize)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, int expectedSize)
IntFloatMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, int expectedSize)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, int expectedSize)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, @Nonnull Map<Integer,Float> map5, int expectedSize)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Consumer<IntFloatConsumer> entriesSupplier, int expectedSize)
IntFloatMapFactory
Example: TODO
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newMutableMap(@Nonnull int[] keys, @Nonnull float[] values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Integer[] keys, @Nonnull Float[] values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Iterable<Integer> keys, @Nonnull Iterable<Float> values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map)
IntFloatMapFactory
map
.newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2)
IntFloatMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashIntFloatMap newMutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, @Nonnull Map<Integer,Float> map5)
IntFloatMapFactory
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Consumer<IntFloatConsumer> entriesSupplier)
IntFloatMapFactory
Example: TODO
newMutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashIntFloatMap newMutableMap(@Nonnull int[] keys, @Nonnull float[] values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Integer[] keys, @Nonnull Float[] values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMap(@Nonnull Iterable<Integer> keys, @Nonnull Iterable<Float> values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMapOf(int k1, float v1)
IntFloatMapFactory
newMutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashIntFloatMap newMutableMapOf(int k1, float v1, int k2, float v2)
IntFloatMapFactory
newMutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMapOf(int k1, float v1, int k2, float v2, int k3, float v3)
IntFloatMapFactory
newMutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMapOf(int k1, float v1, int k2, float v2, int k3, float v3, int k4, float v4)
IntFloatMapFactory
newMutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newMutableMapOf(int k1, float v1, int k2, float v2, int k3, float v3, int k4, float v4, int k5, float v5)
IntFloatMapFactory
newMutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap()
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
@Nonnull HashIntFloatMap newUpdatableMap(int expectedSize)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, int expectedSize)
IntFloatMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, int expectedSize)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, int expectedSize)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, @Nonnull Map<Integer,Float> map5, int expectedSize)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Consumer<IntFloatConsumer> entriesSupplier, int expectedSize)
IntFloatMapFactory
Example: TODO
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull int[] keys, @Nonnull float[] values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Integer[] keys, @Nonnull Float[] values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Iterable<Integer> keys, @Nonnull Iterable<Float> values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map)
IntFloatMapFactory
map
.newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2)
IntFloatMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, @Nonnull Map<Integer,Float> map5)
IntFloatMapFactory
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Consumer<IntFloatConsumer> entriesSupplier)
IntFloatMapFactory
Example: TODO
newUpdatableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashIntFloatMap newUpdatableMap(@Nonnull int[] keys, @Nonnull float[] values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Integer[] keys, @Nonnull Float[] values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMap(@Nonnull Iterable<Integer> keys, @Nonnull Iterable<Float> values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMapOf(int k1, float v1)
IntFloatMapFactory
newUpdatableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashIntFloatMap newUpdatableMapOf(int k1, float v1, int k2, float v2)
IntFloatMapFactory
newUpdatableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMapOf(int k1, float v1, int k2, float v2, int k3, float v3)
IntFloatMapFactory
newUpdatableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMapOf(int k1, float v1, int k2, float v2, int k3, float v3, int k4, float v4)
IntFloatMapFactory
newUpdatableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newUpdatableMapOf(int k1, float v1, int k2, float v2, int k3, float v3, int k4, float v4, int k5, float v5)
IntFloatMapFactory
newUpdatableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, int expectedSize)
IntFloatMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, int expectedSize)
IntFloatMapFactory
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, int expectedSize)
IntFloatMapFactory
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, @Nonnull Map<Integer,Float> map5, int expectedSize)
IntFloatMapFactory
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Consumer<IntFloatConsumer> entriesSupplier, int expectedSize)
IntFloatMapFactory
Example: TODO
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashIntFloatMap newImmutableMap(@Nonnull int[] keys, @Nonnull float[] values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Integer[] keys, @Nonnull Float[] values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Iterable<Integer> keys, @Nonnull Iterable<Float> values, int expectedSize)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map)
IntFloatMapFactory
map
.newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2)
IntFloatMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3)
IntFloatMapFactory
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4)
IntFloatMapFactory
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashIntFloatMap newImmutableMap(@Nonnull Map<Integer,Float> map1, @Nonnull Map<Integer,Float> map2, @Nonnull Map<Integer,Float> map3, @Nonnull Map<Integer,Float> map4, @Nonnull Map<Integer,Float> map5)
IntFloatMapFactory
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Consumer<IntFloatConsumer> entriesSupplier)
IntFloatMapFactory
Example: TODO
newImmutableMap
in interface IntFloatMapFactory<HashIntFloatMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashIntFloatMap newImmutableMap(@Nonnull int[] keys, @Nonnull float[] values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Integer[] keys, @Nonnull Float[] values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMap(@Nonnull Iterable<Integer> keys, @Nonnull Iterable<Float> values)
IntFloatMapFactory
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 IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMapOf(int k1, float v1)
IntFloatMapFactory
newImmutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashIntFloatMap newImmutableMapOf(int k1, float v1, int k2, float v2)
IntFloatMapFactory
newImmutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMapOf(int k1, float v1, int k2, float v2, int k3, float v3)
IntFloatMapFactory
newImmutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMapOf(int k1, float v1, int k2, float v2, int k3, float v3, int k4, float v4)
IntFloatMapFactory
newImmutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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 HashIntFloatMap newImmutableMapOf(int k1, float v1, int k2, float v2, int k3, float v3, int k4, float v4, int k5, float v5)
IntFloatMapFactory
newImmutableMapOf
in interface IntFloatMapFactory<HashIntFloatMapFactory>
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