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