public interface HashShortByteMapFactory extends ShortByteMapFactory<HashShortByteMapFactory>, ShortHashFactory<HashShortByteMapFactory>
HashShortByteMaps.| Modifier and Type | Method and Description |
|---|---|
HashShortByteMap |
newImmutableMap(Consumer<ShortByteConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortByteMap |
newImmutableMap(Consumer<ShortByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortByteMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Byte> values)
Constructs a new immutable map with the given mappings, i.
|
HashShortByteMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map)
Constructs a new immutable map with the same mappings as the specified
map. |
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
Map<Short,Byte> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
Map<Short,Byte> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newImmutableMap(short[] keys,
byte[] values)
Constructs a new immutable map with the given mappings, i.
|
HashShortByteMap |
newImmutableMap(Short[] keys,
Byte[] values)
Constructs a new immutable map with the given mappings, i.
|
HashShortByteMap |
newImmutableMap(short[] keys,
byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashShortByteMap |
newImmutableMap(Short[] keys,
Byte[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashShortByteMap |
newImmutableMapOf(short k1,
byte v1)
Constructs a new immutable map of the single specified mapping.
|
HashShortByteMap |
newImmutableMapOf(short k1,
byte v1,
short k2,
byte v2)
Constructs a new immutable map of the two specified mappings.
|
HashShortByteMap |
newImmutableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3)
Constructs a new immutable map of the three specified mappings.
|
HashShortByteMap |
newImmutableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3,
short k4,
byte v4)
Constructs a new immutable map of the four specified mappings.
|
HashShortByteMap |
newImmutableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3,
short k4,
byte v4,
short k5,
byte v5)
Constructs a new immutable map of the five specified mappings.
|
HashShortByteMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
HashShortByteMap |
newMutableMap(Consumer<ShortByteConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortByteMap |
newMutableMap(Consumer<ShortByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashShortByteMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
HashShortByteMap |
newMutableMap(Iterable<Short> keys,
Iterable<Byte> values)
Constructs a new mutable map with the given mappings, i.
|
HashShortByteMap |
newMutableMap(Iterable<Short> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map)
Constructs a new mutable map with the same mappings as the specified
map. |
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
Map<Short,Byte> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
Map<Short,Byte> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newMutableMap(short[] keys,
byte[] values)
Constructs a new mutable map with the given mappings, i.
|
HashShortByteMap |
newMutableMap(Short[] keys,
Byte[] values)
Constructs a new mutable map with the given mappings, i.
|
HashShortByteMap |
newMutableMap(short[] keys,
byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashShortByteMap |
newMutableMap(Short[] keys,
Byte[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashShortByteMap |
newMutableMapOf(short k1,
byte v1)
Constructs a new mutable map of the single specified mapping.
|
HashShortByteMap |
newMutableMapOf(short k1,
byte v1,
short k2,
byte v2)
Constructs a new mutable map of the two specified mappings.
|
HashShortByteMap |
newMutableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3)
Constructs a new mutable map of the three specified mappings.
|
HashShortByteMap |
newMutableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3,
short k4,
byte v4)
Constructs a new mutable map of the four specified mappings.
|
HashShortByteMap |
newMutableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3,
short k4,
byte v4,
short k5,
byte v5)
Constructs a new mutable map of the five specified mappings.
|
HashShortByteMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
HashShortByteMap |
newUpdatableMap(Consumer<ShortByteConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashShortByteMap |
newUpdatableMap(Consumer<ShortByteConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashShortByteMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
HashShortByteMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Byte> values)
Constructs a new updatable map with the given mappings, i.
|
HashShortByteMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Byte> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map)
Constructs a new updatable map with the same mappings as the specified
map. |
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
Map<Short,Byte> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(Map<Short,Byte> map1,
Map<Short,Byte> map2,
Map<Short,Byte> map3,
Map<Short,Byte> map4,
Map<Short,Byte> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashShortByteMap |
newUpdatableMap(short[] keys,
byte[] values)
Constructs a new updatable map with the given mappings, i.
|
HashShortByteMap |
newUpdatableMap(Short[] keys,
Byte[] values)
Constructs a new updatable map with the given mappings, i.
|
HashShortByteMap |
newUpdatableMap(short[] keys,
byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashShortByteMap |
newUpdatableMap(Short[] keys,
Byte[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashShortByteMap |
newUpdatableMapOf(short k1,
byte v1)
Constructs a new updatable map of the single specified mapping.
|
HashShortByteMap |
newUpdatableMapOf(short k1,
byte v1,
short k2,
byte v2)
Constructs a new updatable map of the two specified mappings.
|
HashShortByteMap |
newUpdatableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3)
Constructs a new updatable map of the three specified mappings.
|
HashShortByteMap |
newUpdatableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3,
short k4,
byte v4)
Constructs a new updatable map of the four specified mappings.
|
HashShortByteMap |
newUpdatableMapOf(short k1,
byte v1,
short k2,
byte v2,
short k3,
byte v3,
short k4,
byte v4,
short k5,
byte v5)
Constructs a new updatable map of the five specified mappings.
|
getDefaultValue, withDefaultValuegetLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplementgetHashConfig, withHashConfiggetDefaultExpectedSize, withDefaultExpectedSize@Nonnull HashShortByteMap newMutableMap()
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>@Nonnull HashShortByteMap newMutableMap(int expectedSize)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>expectedSize - the expected size of the returned map@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, int expectedSize)
ShortByteMapFactorymap2 have priority over mappings from the map1 with
the same keys.newMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, int expectedSize)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, int expectedSize)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, @Nonnull Map<Short,Byte> map5, int expectedSize)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Consumer<ShortByteConsumer> entriesSupplier, int expectedSize)
ShortByteMapFactoryExample: TODO
newMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newMutableMap(@Nonnull short[] keys, @Nonnull byte[] values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Short[] keys, @Nonnull Byte[] values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Byte> values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map)
ShortByteMapFactorymap.newMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map - the map whose mappings are to be placed in the returned mapmap@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2)
ShortByteMapFactorymap2 have priority over mappings from the map1 with
the same keys.newMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to merge@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge@Nonnull HashShortByteMap newMutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, @Nonnull Map<Short,Byte> map5)
ShortByteMapFactorynewMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Consumer<ShortByteConsumer> entriesSupplier)
ShortByteMapFactoryExample: TODO
newMutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in@Nonnull HashShortByteMap newMutableMap(@Nonnull short[] keys, @Nonnull byte[] values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Short[] keys, @Nonnull Byte[] values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Byte> values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMapOf(short k1, byte v1)
ShortByteMapFactorynewMutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping@Nonnull HashShortByteMap newMutableMapOf(short k1, byte v1, short k2, byte v2)
ShortByteMapFactorynewMutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3)
ShortByteMapFactorynewMutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3, short k4, byte v4)
ShortByteMapFactorynewMutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newMutableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3, short k4, byte v4, short k5, byte v5)
ShortByteMapFactorynewMutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap()
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>@Nonnull HashShortByteMap newUpdatableMap(int expectedSize)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>expectedSize - the expected size of the returned map@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, int expectedSize)
ShortByteMapFactorymap2 have priority over mappings from the map1 with
the same keys.newUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, int expectedSize)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, int expectedSize)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, @Nonnull Map<Short,Byte> map5, int expectedSize)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Consumer<ShortByteConsumer> entriesSupplier, int expectedSize)
ShortByteMapFactoryExample: TODO
newUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newUpdatableMap(@Nonnull short[] keys, @Nonnull byte[] values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Short[] keys, @Nonnull Byte[] values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Byte> values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map)
ShortByteMapFactorymap.newUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map - the map whose mappings are to be placed in the returned mapmap@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2)
ShortByteMapFactorymap2 have priority over mappings from the map1 with
the same keys.newUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to merge@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge@Nonnull HashShortByteMap newUpdatableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, @Nonnull Map<Short,Byte> map5)
ShortByteMapFactorynewUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Consumer<ShortByteConsumer> entriesSupplier)
ShortByteMapFactoryExample: TODO
newUpdatableMap in interface ShortByteMapFactory<HashShortByteMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in@Nonnull HashShortByteMap newUpdatableMap(@Nonnull short[] keys, @Nonnull byte[] values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Short[] keys, @Nonnull Byte[] values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Byte> values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMapOf(short k1, byte v1)
ShortByteMapFactorynewUpdatableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping@Nonnull HashShortByteMap newUpdatableMapOf(short k1, byte v1, short k2, byte v2)
ShortByteMapFactorynewUpdatableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3)
ShortByteMapFactorynewUpdatableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3, short k4, byte v4)
ShortByteMapFactorynewUpdatableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newUpdatableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3, short k4, byte v4, short k5, byte v5)
ShortByteMapFactorynewUpdatableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, int expectedSize)
ShortByteMapFactorymap2 have priority over mappings from the map1 with
the same keys.newImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, int expectedSize)
ShortByteMapFactorynewImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, int expectedSize)
ShortByteMapFactorynewImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, @Nonnull Map<Short,Byte> map5, int expectedSize)
ShortByteMapFactorynewImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Consumer<ShortByteConsumer> entriesSupplier, int expectedSize)
ShortByteMapFactoryExample: TODO
newImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map@Nonnull HashShortByteMap newImmutableMap(@Nonnull short[] keys, @Nonnull byte[] values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Short[] keys, @Nonnull Byte[] values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Byte> values, int expectedSize)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map)
ShortByteMapFactorymap.newImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map - the map whose mappings are to be placed in the returned mapmap@Nonnull HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2)
ShortByteMapFactorymap2 have priority over mappings from the map1 with
the same keys.newImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to merge@Nonnull HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3)
ShortByteMapFactorynewImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge@Nonnull HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4)
ShortByteMapFactorynewImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge@Nonnull HashShortByteMap newImmutableMap(@Nonnull Map<Short,Byte> map1, @Nonnull Map<Short,Byte> map2, @Nonnull Map<Short,Byte> map3, @Nonnull Map<Short,Byte> map4, @Nonnull Map<Short,Byte> map5)
ShortByteMapFactorynewImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Consumer<ShortByteConsumer> entriesSupplier)
ShortByteMapFactoryExample: TODO
newImmutableMap in interface ShortByteMapFactory<HashShortByteMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in@Nonnull HashShortByteMap newImmutableMap(@Nonnull short[] keys, @Nonnull byte[] values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Short[] keys, @Nonnull Byte[] values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMap(@Nonnull Iterable<Short> keys, @Nonnull Iterable<Byte> values)
ShortByteMapFactorykeys 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 ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMapOf(short k1, byte v1)
ShortByteMapFactorynewImmutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping@Nonnull HashShortByteMap newImmutableMapOf(short k1, byte v1, short k2, byte v2)
ShortByteMapFactorynewImmutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3)
ShortByteMapFactorynewImmutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3, short k4, byte v4)
ShortByteMapFactorynewImmutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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 HashShortByteMap newImmutableMapOf(short k1, byte v1, short k2, byte v2, short k3, byte v3, short k4, byte v4, short k5, byte v5)
ShortByteMapFactorynewImmutableMapOf in interface ShortByteMapFactory<HashShortByteMapFactory>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