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