|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HashShortShortMapFactory
An immutable factory of HashShortShortMaps.
HashShortShortMap,
HashShortShortMaps.getDefaultFactory(),
@KolobokeMap| Method Summary | |
|---|---|
HashShortShortMap |
newImmutableMap(Consumer<ShortShortConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given closure. |
HashShortShortMap |
newImmutableMap(Consumer<ShortShortConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given closure. |
HashShortShortMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Short> 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. |
HashShortShortMap |
newImmutableMap(Iterable<Short> keys,
Iterable<Short> 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. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map)
Constructs a new immutable map with the same mappings as the specified map. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
Map<Short,Short> map5)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
Map<Short,Short> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newImmutableMap(short[] keys,
short[] 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. |
HashShortShortMap |
newImmutableMap(Short[] keys,
Short[] 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. |
HashShortShortMap |
newImmutableMap(short[] keys,
short[] 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. |
HashShortShortMap |
newImmutableMap(Short[] keys,
Short[] 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. |
HashShortShortMap |
newImmutableMapOf(short k1,
short v1)
Constructs a new immutable map of the single specified mapping. |
HashShortShortMap |
newImmutableMapOf(short k1,
short v1,
short k2,
short v2)
Constructs a new immutable map of the two specified mappings. |
HashShortShortMap |
newImmutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3)
Constructs a new immutable map of the three specified mappings. |
HashShortShortMap |
newImmutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4)
Constructs a new immutable map of the four specified mappings. |
HashShortShortMap |
newImmutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4,
short k5,
short v5)
Constructs a new immutable map of the five specified mappings. |
HashShortShortMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size. |
HashShortShortMap |
newMutableMap(Consumer<ShortShortConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given closure. |
HashShortShortMap |
newMutableMap(Consumer<ShortShortConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given closure. |
HashShortShortMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size. |
HashShortShortMap |
newMutableMap(Iterable<Short> keys,
Iterable<Short> 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. |
HashShortShortMap |
newMutableMap(Iterable<Short> keys,
Iterable<Short> 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. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map)
Constructs a new mutable map with the same mappings as the specified map. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
Map<Short,Short> map5)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
Map<Short,Short> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps. |
HashShortShortMap |
newMutableMap(short[] keys,
short[] 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. |
HashShortShortMap |
newMutableMap(Short[] keys,
Short[] 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. |
HashShortShortMap |
newMutableMap(short[] keys,
short[] 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. |
HashShortShortMap |
newMutableMap(Short[] keys,
Short[] 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. |
HashShortShortMap |
newMutableMapOf(short k1,
short v1)
Constructs a new mutable map of the single specified mapping. |
HashShortShortMap |
newMutableMapOf(short k1,
short v1,
short k2,
short v2)
Constructs a new mutable map of the two specified mappings. |
HashShortShortMap |
newMutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3)
Constructs a new mutable map of the three specified mappings. |
HashShortShortMap |
newMutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4)
Constructs a new mutable map of the four specified mappings. |
HashShortShortMap |
newMutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4,
short k5,
short v5)
Constructs a new mutable map of the five specified mappings. |
HashShortShortMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size. |
HashShortShortMap |
newUpdatableMap(Consumer<ShortShortConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given closure. |
HashShortShortMap |
newUpdatableMap(Consumer<ShortShortConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given closure. |
HashShortShortMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size. |
HashShortShortMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Short> 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. |
HashShortShortMap |
newUpdatableMap(Iterable<Short> keys,
Iterable<Short> 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. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map)
Constructs a new updatable map with the same mappings as the specified map. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
Map<Short,Short> map5)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(Map<Short,Short> map1,
Map<Short,Short> map2,
Map<Short,Short> map3,
Map<Short,Short> map4,
Map<Short,Short> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps. |
HashShortShortMap |
newUpdatableMap(short[] keys,
short[] 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. |
HashShortShortMap |
newUpdatableMap(Short[] keys,
Short[] 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. |
HashShortShortMap |
newUpdatableMap(short[] keys,
short[] 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. |
HashShortShortMap |
newUpdatableMap(Short[] keys,
Short[] 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. |
HashShortShortMap |
newUpdatableMapOf(short k1,
short v1)
Constructs a new updatable map of the single specified mapping. |
HashShortShortMap |
newUpdatableMapOf(short k1,
short v1,
short k2,
short v2)
Constructs a new updatable map of the two specified mappings. |
HashShortShortMap |
newUpdatableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3)
Constructs a new updatable map of the three specified mappings. |
HashShortShortMap |
newUpdatableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4)
Constructs a new updatable map of the four specified mappings. |
HashShortShortMap |
newUpdatableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4,
short k5,
short v5)
Constructs a new updatable map of the five specified mappings. |
| Methods inherited from interface com.koloboke.collect.map.ShortShortMapFactory |
|---|
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 HashShortShortMap newMutableMap()
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>@Nonnull HashShortShortMap newMutableMap(int expectedSize)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>expectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
int expectedSize)
ShortShortMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
int expectedSize)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
int expectedSize)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
@Nonnull
Map<Short,Short> map5,
int expectedSize)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Consumer<ShortShortConsumer> entriesSupplier,
int expectedSize)
ShortShortMapFactoryExample: TODO
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
short[] keys,
@Nonnull
short[] values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Short[] keys,
@Nonnull
Short[] values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Short> values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map)
ShortShortMapFactorymap.
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map - the map whose mappings are to be placed in the returned map
map
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2)
ShortShortMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to merge
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
@Nonnull
Map<Short,Short> map5)
ShortShortMapFactory
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Consumer<ShortShortConsumer> entriesSupplier)
ShortShortMapFactoryExample: TODO
newMutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in
@Nonnull
HashShortShortMap newMutableMap(@Nonnull
short[] keys,
@Nonnull
short[] values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Short[] keys,
@Nonnull
Short[] values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Short> values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMapOf(short k1,
short v1)
ShortShortMapFactory
newMutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping
@Nonnull
HashShortShortMap newMutableMapOf(short k1,
short v1,
short k2,
short v2)
ShortShortMapFactory
newMutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3)
ShortShortMapFactory
newMutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4)
ShortShortMapFactory
newMutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newMutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4,
short k5,
short v5)
ShortShortMapFactory
newMutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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 HashShortShortMap newUpdatableMap()
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>@Nonnull HashShortShortMap newUpdatableMap(int expectedSize)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>expectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
int expectedSize)
ShortShortMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
int expectedSize)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
int expectedSize)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
@Nonnull
Map<Short,Short> map5,
int expectedSize)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Consumer<ShortShortConsumer> entriesSupplier,
int expectedSize)
ShortShortMapFactoryExample: TODO
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
short[] keys,
@Nonnull
short[] values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Short[] keys,
@Nonnull
Short[] values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Short> values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map)
ShortShortMapFactorymap.
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map - the map whose mappings are to be placed in the returned map
map
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2)
ShortShortMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to merge
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
@Nonnull
Map<Short,Short> map5)
ShortShortMapFactory
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Consumer<ShortShortConsumer> entriesSupplier)
ShortShortMapFactoryExample: TODO
newUpdatableMap in interface ShortShortMapFactory<HashShortShortMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in
@Nonnull
HashShortShortMap newUpdatableMap(@Nonnull
short[] keys,
@Nonnull
short[] values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Short[] keys,
@Nonnull
Short[] values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Short> values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMapOf(short k1,
short v1)
ShortShortMapFactory
newUpdatableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping
@Nonnull
HashShortShortMap newUpdatableMapOf(short k1,
short v1,
short k2,
short v2)
ShortShortMapFactory
newUpdatableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3)
ShortShortMapFactory
newUpdatableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4)
ShortShortMapFactory
newUpdatableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newUpdatableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4,
short k5,
short v5)
ShortShortMapFactory
newUpdatableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
int expectedSize)
ShortShortMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
int expectedSize)
ShortShortMapFactory
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergeexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
int expectedSize)
ShortShortMapFactory
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
@Nonnull
Map<Short,Short> map5,
int expectedSize)
ShortShortMapFactory
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Consumer<ShortShortConsumer> entriesSupplier,
int expectedSize)
ShortShortMapFactoryExample: TODO
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed inexpectedSize - the expected size of the returned map
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
short[] keys,
@Nonnull
short[] values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Short[] keys,
@Nonnull
Short[] values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Short> values,
int expectedSize)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map)
ShortShortMapFactorymap.
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map - the map whose mappings are to be placed in the returned map
map
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2)
ShortShortMapFactorymap2 have priority over mappings from the map1 with
the same keys.
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to merge
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3)
ShortShortMapFactory
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to merge
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4)
ShortShortMapFactory
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>map1 - the first map to mergemap2 - the second map to mergemap3 - the third map to mergemap4 - the fourth map to merge
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
Map<Short,Short> map1,
@Nonnull
Map<Short,Short> map2,
@Nonnull
Map<Short,Short> map3,
@Nonnull
Map<Short,Short> map4,
@Nonnull
Map<Short,Short> map5)
ShortShortMapFactory
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Consumer<ShortShortConsumer> entriesSupplier)
ShortShortMapFactoryExample: TODO
newImmutableMap in interface ShortShortMapFactory<HashShortShortMapFactory>entriesSupplier - the function which supply mappings for the returned map via
the callback passed in
@Nonnull
HashShortShortMap newImmutableMap(@Nonnull
short[] keys,
@Nonnull
short[] values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Short[] keys,
@Nonnull
Short[] values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMap(@Nonnull
Iterable<Short> keys,
@Nonnull
Iterable<Short> values)
ShortShortMapFactorykeys 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 ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMapOf(short k1,
short v1)
ShortShortMapFactory
newImmutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>k1 - the key of the sole mappingv1 - the value of the sole mapping
@Nonnull
HashShortShortMap newImmutableMapOf(short k1,
short v1,
short k2,
short v2)
ShortShortMapFactory
newImmutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3)
ShortShortMapFactory
newImmutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4)
ShortShortMapFactory
newImmutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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
HashShortShortMap newImmutableMapOf(short k1,
short v1,
short k2,
short v2,
short k3,
short v3,
short k4,
short v4,
short k5,
short v5)
ShortShortMapFactory
newImmutableMapOf in interface ShortShortMapFactory<HashShortShortMapFactory>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 | |||||||||