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