F
- the concrete factory type which extends this interfacepublic interface FloatByteMapFactory<F extends FloatByteMapFactory<F>> extends ContainerFactory<F>
FloatByteMap
s.FloatByteMap
,
@KolobokeMap
Modifier and Type | Method and Description |
---|---|
byte |
getDefaultValue()
Returns the value to which default value of the maps
constructed by this factory is set.
|
FloatByteMap |
newImmutableMap(Consumer<FloatByteConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
FloatByteMap |
newImmutableMap(Consumer<FloatByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
FloatByteMap |
newImmutableMap(float[] keys,
byte[] values)
Constructs a new immutable map with the given mappings, i.
|
FloatByteMap |
newImmutableMap(Float[] keys,
Byte[] values)
Constructs a new immutable map with the given mappings, i.
|
FloatByteMap |
newImmutableMap(float[] keys,
byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
FloatByteMap |
newImmutableMap(Float[] keys,
Byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
FloatByteMap |
newImmutableMap(Iterable<Float> keys,
Iterable<Byte> values)
Constructs a new immutable map with the given mappings, i.
|
FloatByteMap |
newImmutableMap(Iterable<Float> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map)
Constructs a new immutable map with the same mappings as the specified
map . |
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
Map<Float,Byte> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
Map<Float,Byte> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newImmutableMapOf(float k1,
byte v1)
Constructs a new immutable map of the single specified mapping.
|
FloatByteMap |
newImmutableMapOf(float k1,
byte v1,
float k2,
byte v2)
Constructs a new immutable map of the two specified mappings.
|
FloatByteMap |
newImmutableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3)
Constructs a new immutable map of the three specified mappings.
|
FloatByteMap |
newImmutableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3,
float k4,
byte v4)
Constructs a new immutable map of the four specified mappings.
|
FloatByteMap |
newImmutableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3,
float k4,
byte v4,
float k5,
byte v5)
Constructs a new immutable map of the five specified mappings.
|
FloatByteMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
FloatByteMap |
newMutableMap(Consumer<FloatByteConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
FloatByteMap |
newMutableMap(Consumer<FloatByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
FloatByteMap |
newMutableMap(float[] keys,
byte[] values)
Constructs a new mutable map with the given mappings, i.
|
FloatByteMap |
newMutableMap(Float[] keys,
Byte[] values)
Constructs a new mutable map with the given mappings, i.
|
FloatByteMap |
newMutableMap(float[] keys,
byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
FloatByteMap |
newMutableMap(Float[] keys,
Byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
FloatByteMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
FloatByteMap |
newMutableMap(Iterable<Float> keys,
Iterable<Byte> values)
Constructs a new mutable map with the given mappings, i.
|
FloatByteMap |
newMutableMap(Iterable<Float> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map)
Constructs a new mutable map with the same mappings as the specified
map . |
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
Map<Float,Byte> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
Map<Float,Byte> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
FloatByteMap |
newMutableMapOf(float k1,
byte v1)
Constructs a new mutable map of the single specified mapping.
|
FloatByteMap |
newMutableMapOf(float k1,
byte v1,
float k2,
byte v2)
Constructs a new mutable map of the two specified mappings.
|
FloatByteMap |
newMutableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3)
Constructs a new mutable map of the three specified mappings.
|
FloatByteMap |
newMutableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3,
float k4,
byte v4)
Constructs a new mutable map of the four specified mappings.
|
FloatByteMap |
newMutableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3,
float k4,
byte v4,
float k5,
byte v5)
Constructs a new mutable map of the five specified mappings.
|
FloatByteMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
FloatByteMap |
newUpdatableMap(Consumer<FloatByteConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
FloatByteMap |
newUpdatableMap(Consumer<FloatByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
FloatByteMap |
newUpdatableMap(float[] keys,
byte[] values)
Constructs a new updatable map with the given mappings, i.
|
FloatByteMap |
newUpdatableMap(Float[] keys,
Byte[] values)
Constructs a new updatable map with the given mappings, i.
|
FloatByteMap |
newUpdatableMap(float[] keys,
byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
FloatByteMap |
newUpdatableMap(Float[] keys,
Byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
FloatByteMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
FloatByteMap |
newUpdatableMap(Iterable<Float> keys,
Iterable<Byte> values)
Constructs a new updatable map with the given mappings, i.
|
FloatByteMap |
newUpdatableMap(Iterable<Float> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map)
Constructs a new updatable map with the same mappings as the specified
map . |
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
Map<Float,Byte> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMap(Map<Float,Byte> map1,
Map<Float,Byte> map2,
Map<Float,Byte> map3,
Map<Float,Byte> map4,
Map<Float,Byte> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
FloatByteMap |
newUpdatableMapOf(float k1,
byte v1)
Constructs a new updatable map of the single specified mapping.
|
FloatByteMap |
newUpdatableMapOf(float k1,
byte v1,
float k2,
byte v2)
Constructs a new updatable map of the two specified mappings.
|
FloatByteMap |
newUpdatableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3)
Constructs a new updatable map of the three specified mappings.
|
FloatByteMap |
newUpdatableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3,
float k4,
byte v4)
Constructs a new updatable map of the four specified mappings.
|
FloatByteMap |
newUpdatableMapOf(float k1,
byte v1,
float k2,
byte v2,
float k3,
byte v3,
float k4,
byte v4,
float k5,
byte v5)
Constructs a new updatable map of the five specified mappings.
|
F |
withDefaultValue(byte defaultValue)
Returns a copy of this factory, with exception that it constructs maps with
default value set to the given
byte value. |
getDefaultExpectedSize, withDefaultExpectedSize
byte getDefaultValue()
(byte) 0
.@Nonnull F withDefaultValue(byte defaultValue)
byte
value.defaultValue
- the new default byte
valuedefaultValue
@Nonnull FloatByteMap newMutableMap()
@Nonnull FloatByteMap newMutableMap(int expectedSize)
expectedSize
- the expected size of the returned map@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, int expectedSize)
map2
have priority over mappings from the map1
with
the same keys.map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, int expectedSize)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, int expectedSize)
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 FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, @Nonnull Map<Float,Byte> map5, int expectedSize)
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 FloatByteMap newMutableMap(@Nonnull Consumer<FloatByteConsumer> entriesSupplier, int expectedSize)
Example: TODO
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newMutableMap(@Nonnull float[] keys, @Nonnull byte[] values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
arrays have different
length@Nonnull FloatByteMap newMutableMap(@Nonnull Float[] keys, @Nonnull Byte[] values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
arrays have different
lengthNullPointerException
- if keys
or values
contain null
elements@Nonnull FloatByteMap newMutableMap(@Nonnull Iterable<Float> keys, @Nonnull Iterable<Byte> values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
have different size@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map)
map
.map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2)
map2
have priority over mappings from the map1
with
the same keys.map1
- the first map to mergemap2
- the second map to merge@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull FloatByteMap newMutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, @Nonnull Map<Float,Byte> map5)
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 FloatByteMap newMutableMap(@Nonnull Consumer<FloatByteConsumer> entriesSupplier)
Example: TODO
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull FloatByteMap newMutableMap(@Nonnull float[] keys, @Nonnull byte[] values)
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.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 indexIllegalArgumentException
- if keys
and values
arrays have different
length@Nonnull FloatByteMap newMutableMap(@Nonnull Float[] keys, @Nonnull Byte[] values)
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.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 indexIllegalArgumentException
- if keys
and values
arrays have different
lengthNullPointerException
- if keys
or values
contain null
elements@Nonnull FloatByteMap newMutableMap(@Nonnull Iterable<Float> keys, @Nonnull Iterable<Byte> values)
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.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 positionIllegalArgumentException
- if keys
and values
have different size@Nonnull FloatByteMap newMutableMapOf(float k1, byte v1)
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull FloatByteMap newMutableMapOf(float k1, byte v1, float k2, byte v2)
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 FloatByteMap newMutableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3)
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 FloatByteMap newMutableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3, float k4, byte v4)
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 FloatByteMap newMutableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3, float k4, byte v4, float k5, byte v5)
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 FloatByteMap newUpdatableMap()
@Nonnull FloatByteMap newUpdatableMap(int expectedSize)
expectedSize
- the expected size of the returned map@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, int expectedSize)
map2
have priority over mappings from the map1
with
the same keys.map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, int expectedSize)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, int expectedSize)
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 FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, @Nonnull Map<Float,Byte> map5, int expectedSize)
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 FloatByteMap newUpdatableMap(@Nonnull Consumer<FloatByteConsumer> entriesSupplier, int expectedSize)
Example: TODO
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newUpdatableMap(@Nonnull float[] keys, @Nonnull byte[] values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
arrays have different
length@Nonnull FloatByteMap newUpdatableMap(@Nonnull Float[] keys, @Nonnull Byte[] values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
arrays have different
lengthNullPointerException
- if keys
or values
contain null
elements@Nonnull FloatByteMap newUpdatableMap(@Nonnull Iterable<Float> keys, @Nonnull Iterable<Byte> values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
have different size@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map)
map
.map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2)
map2
have priority over mappings from the map1
with
the same keys.map1
- the first map to mergemap2
- the second map to merge@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull FloatByteMap newUpdatableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, @Nonnull Map<Float,Byte> map5)
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 FloatByteMap newUpdatableMap(@Nonnull Consumer<FloatByteConsumer> entriesSupplier)
Example: TODO
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull FloatByteMap newUpdatableMap(@Nonnull float[] keys, @Nonnull byte[] values)
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.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 indexIllegalArgumentException
- if keys
and values
arrays have different
length@Nonnull FloatByteMap newUpdatableMap(@Nonnull Float[] keys, @Nonnull Byte[] values)
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.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 indexIllegalArgumentException
- if keys
and values
arrays have different
lengthNullPointerException
- if keys
or values
contain null
elements@Nonnull FloatByteMap newUpdatableMap(@Nonnull Iterable<Float> keys, @Nonnull Iterable<Byte> values)
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.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 positionIllegalArgumentException
- if keys
and values
have different size@Nonnull FloatByteMap newUpdatableMapOf(float k1, byte v1)
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull FloatByteMap newUpdatableMapOf(float k1, byte v1, float k2, byte v2)
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 FloatByteMap newUpdatableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3)
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 FloatByteMap newUpdatableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3, float k4, byte v4)
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 FloatByteMap newUpdatableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3, float k4, byte v4, float k5, byte v5)
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 FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, int expectedSize)
map2
have priority over mappings from the map1
with
the same keys.map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, int expectedSize)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, int expectedSize)
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 FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, @Nonnull Map<Float,Byte> map5, int expectedSize)
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 FloatByteMap newImmutableMap(@Nonnull Consumer<FloatByteConsumer> entriesSupplier, int expectedSize)
Example: TODO
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull FloatByteMap newImmutableMap(@Nonnull float[] keys, @Nonnull byte[] values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
arrays have different
length@Nonnull FloatByteMap newImmutableMap(@Nonnull Float[] keys, @Nonnull Byte[] values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
arrays have different
lengthNullPointerException
- if keys
or values
contain null
elements@Nonnull FloatByteMap newImmutableMap(@Nonnull Iterable<Float> keys, @Nonnull Iterable<Byte> values, int expectedSize)
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.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 mapIllegalArgumentException
- if keys
and values
have different size@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map)
map
.map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2)
map2
have priority over mappings from the map1
with
the same keys.map1
- the first map to mergemap2
- the second map to merge@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4)
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull FloatByteMap newImmutableMap(@Nonnull Map<Float,Byte> map1, @Nonnull Map<Float,Byte> map2, @Nonnull Map<Float,Byte> map3, @Nonnull Map<Float,Byte> map4, @Nonnull Map<Float,Byte> map5)
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 FloatByteMap newImmutableMap(@Nonnull Consumer<FloatByteConsumer> entriesSupplier)
Example: TODO
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull FloatByteMap newImmutableMap(@Nonnull float[] keys, @Nonnull byte[] values)
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.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 indexIllegalArgumentException
- if keys
and values
arrays have different
length@Nonnull FloatByteMap newImmutableMap(@Nonnull Float[] keys, @Nonnull Byte[] values)
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.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 indexIllegalArgumentException
- if keys
and values
arrays have different
lengthNullPointerException
- if keys
or values
contain null
elements@Nonnull FloatByteMap newImmutableMap(@Nonnull Iterable<Float> keys, @Nonnull Iterable<Byte> values)
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.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 positionIllegalArgumentException
- if keys
and values
have different size@Nonnull FloatByteMap newImmutableMapOf(float k1, byte v1)
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull FloatByteMap newImmutableMapOf(float k1, byte v1, float k2, byte v2)
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 FloatByteMap newImmutableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3)
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 FloatByteMap newImmutableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3, float k4, byte v4)
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 FloatByteMap newImmutableMapOf(float k1, byte v1, float k2, byte v2, float k3, byte v3, float k4, byte v4, float k5, byte v5)
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