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