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