|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HashShortIntMapFactory
An immutable factory of HashShortIntMaps.
HashShortIntMap,
HashShortIntMaps.getDefaultFactory(),
@KolobokeMap| Method Summary | |
|---|---|
HashShortIntMap |
newImmutableMap(Consumer<ShortIntConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given closure. |
HashShortIntMap |
newImmutableMap(Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given closure. |
HashShortIntMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Integer> values)
Constructs a new immutable map with the given mappings, i. e. pairs of elements from the keys and values iterables at the same iteration position. |
HashShortIntMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Integer> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i. e. pairs of elements from the keys and values iterables at the same iteration position. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map)
Constructs a new immutable map with the same mappings as the specified map. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newImmutableMap(short[] keys,
int[] values)
Constructs a new immutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newImmutableMap(short[] keys,
int[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newImmutableMap(Short[] keys,
Integer[] values)
Constructs a new immutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newImmutableMap(Short[] keys,
Integer[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newImmutableMapOf(short k1,
int v1)
Constructs a new immutable map of the single specified mapping. |
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2)
Constructs a new immutable map of the two specified mappings. |
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
Constructs a new immutable map of the three specified mappings. |
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
Constructs a new immutable map of the four specified mappings. |
HashShortIntMap |
newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
Constructs a new immutable map of the five specified mappings. |
HashShortIntMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size. |
HashShortIntMap |
newMutableMap(Consumer<ShortIntConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given closure. |
HashShortIntMap |
newMutableMap(Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given closure. |
HashShortIntMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size. |
HashShortIntMap |
newMutableMap(Iterable<Short> keys,
Iterable<Integer> values)
Constructs a new mutable map with the given mappings, i. e. pairs of elements from the keys and values iterables at the same iteration position. |
HashShortIntMap |
newMutableMap(Iterable<Short> keys,
Iterable<Integer> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i. e. pairs of elements from the keys and values iterables at the same iteration position. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map)
Constructs a new mutable map with the same mappings as the specified map. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortIntMap |
newMutableMap(short[] keys,
int[] values)
Constructs a new mutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newMutableMap(short[] keys,
int[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newMutableMap(Short[] keys,
Integer[] values)
Constructs a new mutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newMutableMap(Short[] keys,
Integer[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newMutableMapOf(short k1,
int v1)
Constructs a new mutable map of the single specified mapping. |
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2)
Constructs a new mutable map of the two specified mappings. |
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
Constructs a new mutable map of the three specified mappings. |
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
Constructs a new mutable map of the four specified mappings. |
HashShortIntMap |
newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
Constructs a new mutable map of the five specified mappings. |
HashShortIntMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size. |
HashShortIntMap |
newUpdatableMap(Consumer<ShortIntConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given closure. |
HashShortIntMap |
newUpdatableMap(Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given closure. |
HashShortIntMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size. |
HashShortIntMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Integer> values)
Constructs a new updatable map with the given mappings, i. e. pairs of elements from the keys and values iterables at the same iteration position. |
HashShortIntMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Integer> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i. e. pairs of elements from the keys and values iterables at the same iteration position. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map)
Constructs a new updatable map with the same mappings as the specified map. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(Map<Short,Integer> map1,
Map<Short,Integer> map2,
Map<Short,Integer> map3,
Map<Short,Integer> map4,
Map<Short,Integer> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortIntMap |
newUpdatableMap(short[] keys,
int[] values)
Constructs a new updatable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newUpdatableMap(short[] keys,
int[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newUpdatableMap(Short[] keys,
Integer[] values)
Constructs a new updatable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newUpdatableMap(Short[] keys,
Integer[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i. e. pairs of elements from the keys and values arrays at the same index. |
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1)
Constructs a new updatable map of the single specified mapping. |
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2)
Constructs a new updatable map of the two specified mappings. |
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
Constructs a new updatable map of the three specified mappings. |
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
Constructs a new updatable map of the four specified mappings. |
HashShortIntMap |
newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
Constructs a new updatable map of the five specified mappings. |
| Methods inherited from interface com.koloboke.collect.map.ShortIntMapFactory |
|---|
getDefaultValue, withDefaultValue |
| Methods inherited from interface com.koloboke.collect.hash.ShortHashFactory |
|---|
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement |
| Methods inherited from interface com.koloboke.collect.hash.HashContainerFactory |
|---|
getHashConfig, withHashConfig |
| Methods inherited from interface com.koloboke.collect.ContainerFactory |
|---|
getDefaultExpectedSize, withDefaultExpectedSize |
| Method Detail |
|---|
@Nonnull HashShortIntMap newMutableMap()
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>@Nonnull HashShortIntMap newMutableMap(int expectedSize)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>expectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
int expectedSize)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
int expectedSize)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
int expectedSize)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
@Nonnull
Map<Short,Integer> map5,
int expectedSize)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
ShortIntMapFactoryExample: TODO
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
short[] keys,
@Nonnull
int[] values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Short[] keys,
@Nonnull
Integer[] values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Integer> values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map)
ShortIntMapFactorymap.
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map - the map whose mappings are to be placed in the returned map
map
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to merge
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
@Nonnull
Map<Short,Integer> map5)
ShortIntMapFactory
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Consumer<ShortIntConsumer> entriesSupplier)
ShortIntMapFactoryExample: TODO
newMutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in
@Nonnull
HashShortIntMap newMutableMap(@Nonnull
short[] keys,
@Nonnull
int[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Short[] keys,
@Nonnull
Integer[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Integer> values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMapOf(short k1,
int v1)
ShortIntMapFactory
newMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping
@Nonnull
HashShortIntMap newMutableMapOf(short k1,
int v1,
short k2,
int v2)
ShortIntMapFactory
newMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
ShortIntMapFactory
newMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
ShortIntMapFactory
newMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newMutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
ShortIntMapFactory
newMutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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 HashShortIntMap newUpdatableMap()
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>@Nonnull HashShortIntMap newUpdatableMap(int expectedSize)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>expectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
int expectedSize)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
int expectedSize)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
int expectedSize)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
@Nonnull
Map<Short,Integer> map5,
int expectedSize)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
ShortIntMapFactoryExample: TODO
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
short[] keys,
@Nonnull
int[] values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Short[] keys,
@Nonnull
Integer[] values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Integer> values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map)
ShortIntMapFactorymap.
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map - the map whose mappings are to be placed in the returned map
map
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to merge
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
@Nonnull
Map<Short,Integer> map5)
ShortIntMapFactory
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Consumer<ShortIntConsumer> entriesSupplier)
ShortIntMapFactoryExample: TODO
newUpdatableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in
@Nonnull
HashShortIntMap newUpdatableMap(@Nonnull
short[] keys,
@Nonnull
int[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Short[] keys,
@Nonnull
Integer[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Integer> values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMapOf(short k1,
int v1)
ShortIntMapFactory
newUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping
@Nonnull
HashShortIntMap newUpdatableMapOf(short k1,
int v1,
short k2,
int v2)
ShortIntMapFactory
newUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
ShortIntMapFactory
newUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
ShortIntMapFactory
newUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newUpdatableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
ShortIntMapFactory
newUpdatableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
int expectedSize)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
int expectedSize)
ShortIntMapFactory
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
int expectedSize)
ShortIntMapFactory
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
@Nonnull
Map<Short,Integer> map5,
int expectedSize)
ShortIntMapFactory
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Consumer<ShortIntConsumer> entriesSupplier,
int expectedSize)
ShortIntMapFactoryExample: TODO
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
short[] keys,
@Nonnull
int[] values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Short[] keys,
@Nonnull
Integer[] values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Integer> values,
int expectedSize)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map)
ShortIntMapFactorymap.
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map - the map whose mappings are to be placed in the returned map
map
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2)
ShortIntMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to merge
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3)
ShortIntMapFactory
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4)
ShortIntMapFactory
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
Map<Short,Integer> map1,
@Nonnull
Map<Short,Integer> map2,
@Nonnull
Map<Short,Integer> map3,
@Nonnull
Map<Short,Integer> map4,
@Nonnull
Map<Short,Integer> map5)
ShortIntMapFactory
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Consumer<ShortIntConsumer> entriesSupplier)
ShortIntMapFactoryExample: TODO
newImmutableMap in interface ShortIntMapFactory<HashShortIntMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in
@Nonnull
HashShortIntMap newImmutableMap(@Nonnull
short[] keys,
@Nonnull
int[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Short[] keys,
@Nonnull
Integer[] values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Integer> values)
ShortIntMapFactorykeys 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 ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMapOf(short k1,
int v1)
ShortIntMapFactory
newImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping
@Nonnull
HashShortIntMap newImmutableMapOf(short k1,
int v1,
short k2,
int v2)
ShortIntMapFactory
newImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3)
ShortIntMapFactory
newImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4)
ShortIntMapFactory
newImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
HashShortIntMap newImmutableMapOf(short k1,
int v1,
short k2,
int v2,
short k3,
int v3,
short k4,
int v4,
short k5,
int v5)
ShortIntMapFactory
newImmutableMapOf in interface ShortIntMapFactory<HashShortIntMapFactory>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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||