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