public interface HashCharCharMapFactory extends CharCharMapFactory<HashCharCharMapFactory>, CharHashFactory<HashCharCharMapFactory>
HashCharCharMap
s.Modifier and Type | Method and Description |
---|---|
HashCharCharMap |
newImmutableMap(char[] keys,
char[] values)
Constructs a new immutable map with the given mappings, i.
|
HashCharCharMap |
newImmutableMap(char[] keys,
char[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashCharCharMap |
newImmutableMap(Character[] keys,
Character[] values)
Constructs a new immutable map with the given mappings, i.
|
HashCharCharMap |
newImmutableMap(Character[] keys,
Character[] values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashCharCharMap |
newImmutableMap(Consumer<CharCharConsumer> entriesSupplier)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharCharMap |
newImmutableMap(Consumer<CharCharConsumer> entriesSupplier,
int expectedSize)
Constructs a new immutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharCharMap |
newImmutableMap(Iterable<Character> keys,
Iterable<Character> values)
Constructs a new immutable map with the given mappings, i.
|
HashCharCharMap |
newImmutableMap(Iterable<Character> keys,
Iterable<Character> values,
int expectedSize)
Constructs a new immutable map with the given mappings, i.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map)
Constructs a new immutable map with the same mappings as the specified
map . |
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
Map<Character,Character> map5)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
Map<Character,Character> map5,
int expectedSize)
Constructs a new immutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newImmutableMapOf(char k1,
char v1)
Constructs a new immutable map of the single specified mapping.
|
HashCharCharMap |
newImmutableMapOf(char k1,
char v1,
char k2,
char v2)
Constructs a new immutable map of the two specified mappings.
|
HashCharCharMap |
newImmutableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3)
Constructs a new immutable map of the three specified mappings.
|
HashCharCharMap |
newImmutableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3,
char k4,
char v4)
Constructs a new immutable map of the four specified mappings.
|
HashCharCharMap |
newImmutableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3,
char k4,
char v4,
char k5,
char v5)
Constructs a new immutable map of the five specified mappings.
|
HashCharCharMap |
newMutableMap()
Constructs a new empty mutable map of the default expected size.
|
HashCharCharMap |
newMutableMap(char[] keys,
char[] values)
Constructs a new mutable map with the given mappings, i.
|
HashCharCharMap |
newMutableMap(char[] keys,
char[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashCharCharMap |
newMutableMap(Character[] keys,
Character[] values)
Constructs a new mutable map with the given mappings, i.
|
HashCharCharMap |
newMutableMap(Character[] keys,
Character[] values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashCharCharMap |
newMutableMap(Consumer<CharCharConsumer> entriesSupplier)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharCharMap |
newMutableMap(Consumer<CharCharConsumer> entriesSupplier,
int expectedSize)
Constructs a new mutable map filled with mappings consumed by the callback within the given
closure.
|
HashCharCharMap |
newMutableMap(int expectedSize)
Constructs a new empty mutable map of the given expected size.
|
HashCharCharMap |
newMutableMap(Iterable<Character> keys,
Iterable<Character> values)
Constructs a new mutable map with the given mappings, i.
|
HashCharCharMap |
newMutableMap(Iterable<Character> keys,
Iterable<Character> values,
int expectedSize)
Constructs a new mutable map with the given mappings, i.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map)
Constructs a new mutable map with the same mappings as the specified
map . |
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
Map<Character,Character> map5)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
Map<Character,Character> map5,
int expectedSize)
Constructs a new mutable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newMutableMapOf(char k1,
char v1)
Constructs a new mutable map of the single specified mapping.
|
HashCharCharMap |
newMutableMapOf(char k1,
char v1,
char k2,
char v2)
Constructs a new mutable map of the two specified mappings.
|
HashCharCharMap |
newMutableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3)
Constructs a new mutable map of the three specified mappings.
|
HashCharCharMap |
newMutableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3,
char k4,
char v4)
Constructs a new mutable map of the four specified mappings.
|
HashCharCharMap |
newMutableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3,
char k4,
char v4,
char k5,
char v5)
Constructs a new mutable map of the five specified mappings.
|
HashCharCharMap |
newUpdatableMap()
Constructs a new empty updatable map of the default expected size.
|
HashCharCharMap |
newUpdatableMap(char[] keys,
char[] values)
Constructs a new updatable map with the given mappings, i.
|
HashCharCharMap |
newUpdatableMap(char[] keys,
char[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashCharCharMap |
newUpdatableMap(Character[] keys,
Character[] values)
Constructs a new updatable map with the given mappings, i.
|
HashCharCharMap |
newUpdatableMap(Character[] keys,
Character[] values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashCharCharMap |
newUpdatableMap(Consumer<CharCharConsumer> entriesSupplier)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashCharCharMap |
newUpdatableMap(Consumer<CharCharConsumer> entriesSupplier,
int expectedSize)
Constructs a new updatable map filled with mappings consumed by the callback within the given
closure.
|
HashCharCharMap |
newUpdatableMap(int expectedSize)
Constructs a new empty updatable map of the given expected size.
|
HashCharCharMap |
newUpdatableMap(Iterable<Character> keys,
Iterable<Character> values)
Constructs a new updatable map with the given mappings, i.
|
HashCharCharMap |
newUpdatableMap(Iterable<Character> keys,
Iterable<Character> values,
int expectedSize)
Constructs a new updatable map with the given mappings, i.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map)
Constructs a new updatable map with the same mappings as the specified
map . |
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
Map<Character,Character> map5)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMap(Map<Character,Character> map1,
Map<Character,Character> map2,
Map<Character,Character> map3,
Map<Character,Character> map4,
Map<Character,Character> map5,
int expectedSize)
Constructs a new updatable map which merge the mappings of the specified maps.
|
HashCharCharMap |
newUpdatableMapOf(char k1,
char v1)
Constructs a new updatable map of the single specified mapping.
|
HashCharCharMap |
newUpdatableMapOf(char k1,
char v1,
char k2,
char v2)
Constructs a new updatable map of the two specified mappings.
|
HashCharCharMap |
newUpdatableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3)
Constructs a new updatable map of the three specified mappings.
|
HashCharCharMap |
newUpdatableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3,
char k4,
char v4)
Constructs a new updatable map of the four specified mappings.
|
HashCharCharMap |
newUpdatableMapOf(char k1,
char v1,
char k2,
char v2,
char k3,
char v3,
char k4,
char v4,
char k5,
char v5)
Constructs a new updatable map of the five specified mappings.
|
getDefaultValue, withDefaultValue
getLowerKeyDomainBound, getUpperKeyDomainBound, withKeysDomain, withKeysDomainComplement
getHashConfig, withHashConfig
getDefaultExpectedSize, withDefaultExpectedSize
@Nonnull HashCharCharMap newMutableMap()
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
@Nonnull HashCharCharMap newMutableMap(int expectedSize)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, int expectedSize)
CharCharMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, int expectedSize)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, int expectedSize)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, @Nonnull Map<Character,Character> map5, int expectedSize)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Consumer<CharCharConsumer> entriesSupplier, int expectedSize)
CharCharMapFactory
Example: TODO
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newMutableMap(@Nonnull char[] keys, @Nonnull char[] values, int expectedSize)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Character[] keys, @Nonnull Character[] values, int expectedSize)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Character> values, int expectedSize)
CharCharMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map)
CharCharMapFactory
map
.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2)
CharCharMapFactory
map2
have priority over mappings from the map1
with
the same keys.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashCharCharMap newMutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, @Nonnull Map<Character,Character> map5)
CharCharMapFactory
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Consumer<CharCharConsumer> entriesSupplier)
CharCharMapFactory
Example: TODO
newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashCharCharMap newMutableMap(@Nonnull char[] keys, @Nonnull char[] values)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Character[] keys, @Nonnull Character[] values)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Character> values)
CharCharMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newMutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMapOf(char k1, char v1)
CharCharMapFactory
newMutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashCharCharMap newMutableMapOf(char k1, char v1, char k2, char v2)
CharCharMapFactory
newMutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMapOf(char k1, char v1, char k2, char v2, char k3, char v3)
CharCharMapFactory
newMutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMapOf(char k1, char v1, char k2, char v2, char k3, char v3, char k4, char v4)
CharCharMapFactory
newMutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newMutableMapOf(char k1, char v1, char k2, char v2, char k3, char v3, char k4, char v4, char k5, char v5)
CharCharMapFactory
newMutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap()
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
@Nonnull HashCharCharMap newUpdatableMap(int expectedSize)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
expectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, int expectedSize)
CharCharMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, int expectedSize)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, int expectedSize)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, @Nonnull Map<Character,Character> map5, int expectedSize)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Consumer<CharCharConsumer> entriesSupplier, int expectedSize)
CharCharMapFactory
Example: TODO
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newUpdatableMap(@Nonnull char[] keys, @Nonnull char[] values, int expectedSize)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Character[] keys, @Nonnull Character[] values, int expectedSize)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Character> values, int expectedSize)
CharCharMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map)
CharCharMapFactory
map
.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2)
CharCharMapFactory
map2
have priority over mappings from the map1
with
the same keys.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashCharCharMap newUpdatableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, @Nonnull Map<Character,Character> map5)
CharCharMapFactory
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Consumer<CharCharConsumer> entriesSupplier)
CharCharMapFactory
Example: TODO
newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashCharCharMap newUpdatableMap(@Nonnull char[] keys, @Nonnull char[] values)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Character[] keys, @Nonnull Character[] values)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Character> values)
CharCharMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newUpdatableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMapOf(char k1, char v1)
CharCharMapFactory
newUpdatableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashCharCharMap newUpdatableMapOf(char k1, char v1, char k2, char v2)
CharCharMapFactory
newUpdatableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMapOf(char k1, char v1, char k2, char v2, char k3, char v3)
CharCharMapFactory
newUpdatableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMapOf(char k1, char v1, char k2, char v2, char k3, char v3, char k4, char v4)
CharCharMapFactory
newUpdatableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newUpdatableMapOf(char k1, char v1, char k2, char v2, char k3, char v3, char k4, char v4, char k5, char v5)
CharCharMapFactory
newUpdatableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, int expectedSize)
CharCharMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, int expectedSize)
CharCharMapFactory
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergeexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, int expectedSize)
CharCharMapFactory
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, @Nonnull Map<Character,Character> map5, int expectedSize)
CharCharMapFactory
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Consumer<CharCharConsumer> entriesSupplier, int expectedSize)
CharCharMapFactory
Example: TODO
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed inexpectedSize
- the expected size of the returned map@Nonnull HashCharCharMap newImmutableMap(@Nonnull char[] keys, @Nonnull char[] values, int expectedSize)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Character[] keys, @Nonnull Character[] values, int expectedSize)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Character> values, int expectedSize)
CharCharMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map)
CharCharMapFactory
map
.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map
- the map whose mappings are to be placed in the returned mapmap
@Nonnull HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2)
CharCharMapFactory
map2
have priority over mappings from the map1
with
the same keys.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to merge@Nonnull HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3)
CharCharMapFactory
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to merge@Nonnull HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4)
CharCharMapFactory
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
map1
- the first map to mergemap2
- the second map to mergemap3
- the third map to mergemap4
- the fourth map to merge@Nonnull HashCharCharMap newImmutableMap(@Nonnull Map<Character,Character> map1, @Nonnull Map<Character,Character> map2, @Nonnull Map<Character,Character> map3, @Nonnull Map<Character,Character> map4, @Nonnull Map<Character,Character> map5)
CharCharMapFactory
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Consumer<CharCharConsumer> entriesSupplier)
CharCharMapFactory
Example: TODO
newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
entriesSupplier
- the function which supply mappings for the returned map via
the callback passed in@Nonnull HashCharCharMap newImmutableMap(@Nonnull char[] keys, @Nonnull char[] values)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Character[] keys, @Nonnull Character[] values)
CharCharMapFactory
keys
and values
arrays at the same index. If keys
array have
duplicate elements, value corresponding the key with the highest index is left
in the returned map.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMap(@Nonnull Iterable<Character> keys, @Nonnull Iterable<Character> values)
CharCharMapFactory
keys
and values
iterables at the same iteration position. If keys
have duplicate elements, value corresponding the key appeared last in the iteration is left
in the returned map.newImmutableMap
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMapOf(char k1, char v1)
CharCharMapFactory
newImmutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
k1
- the key of the sole mappingv1
- the value of the sole mapping@Nonnull HashCharCharMap newImmutableMapOf(char k1, char v1, char k2, char v2)
CharCharMapFactory
newImmutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMapOf(char k1, char v1, char k2, char v2, char k3, char v3)
CharCharMapFactory
newImmutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMapOf(char k1, char v1, char k2, char v2, char k3, char v3, char k4, char v4)
CharCharMapFactory
newImmutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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 HashCharCharMap newImmutableMapOf(char k1, char v1, char k2, char v2, char k3, char v3, char k4, char v4, char k5, char v5)
CharCharMapFactory
newImmutableMapOf
in interface CharCharMapFactory<HashCharCharMapFactory>
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