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