com.koloboke.collect.impl.hash.QHashSeparateKVObjCharMapFactoryGO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of koloboke-impl-jdk8 Show documentation
Show all versions of koloboke-impl-jdk8 Show documentation
Carefully designed and efficient extension of the Java Collections Framework with primitive specializations and more, built for Java 8 (Implementation)
The newest version!
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.koloboke.collect.impl.hash;
import com.koloboke.collect.*;
import com.koloboke.collect.hash.*;
import com.koloboke.collect.impl.*;
import com.koloboke.collect.map.hash.HashObjCharMapFactory;
import java.util.function.Consumer;
import java.util.function.Predicate;
import com.koloboke.collect.map.hash.HashObjCharMap;
import javax.annotation.Nonnull;
import java.util.*;
import static com.koloboke.collect.impl.Containers.sizeAsInt;
import static com.koloboke.collect.impl.hash.LHashCapacities.configIsSuitableForMutableLHash;
public abstract class QHashSeparateKVObjCharMapFactoryGO
extends QHashSeparateKVObjCharMapFactorySO {
QHashSeparateKVObjCharMapFactoryGO(HashConfig hashConf, int defaultExpectedSize
, boolean isNullKeyAllowed
) {
super(hashConf, defaultExpectedSize, isNullKeyAllowed
);
}
abstract HashObjCharMapFactory thisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
);
abstract HashObjCharMapFactory lHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
);
abstract HashObjCharMapFactory qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
);
@Override
public final HashObjCharMapFactory withHashConfig(@Nonnull HashConfig hashConf) {
if (configIsSuitableForMutableLHash(hashConf))
return lHashLikeThisWith(hashConf, getDefaultExpectedSize()
, isNullKeyAllowed());
return qHashLikeThisWith(hashConf, getDefaultExpectedSize()
, isNullKeyAllowed());
}
@Override
public final HashObjCharMapFactory withDefaultExpectedSize(int defaultExpectedSize) {
if (defaultExpectedSize == getDefaultExpectedSize())
return this;
return thisWith(getHashConfig(), defaultExpectedSize
, isNullKeyAllowed());
}
@Override
public final HashObjCharMapFactory withNullKeyAllowed(boolean nullKeyAllowed) {
if (nullKeyAllowed == isNullKeyAllowed())
return this;
return thisWith(getHashConfig(), getDefaultExpectedSize(), nullKeyAllowed);
}
@Override
public String toString() {
return "HashObjCharMapFactory[" + commonString() + keySpecialString() +
",defaultValue=" + getDefaultValue() +
"]";
}
@Override
public int hashCode() {
int hashCode = keySpecialHashCode(commonHashCode());
hashCode = hashCode * 31 + Primitives.hashCode(getDefaultValue());
return hashCode;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj instanceof HashObjCharMapFactory) {
HashObjCharMapFactory factory = (HashObjCharMapFactory) obj;
return commonEquals(factory) && keySpecialEquals(factory) &&
// boxing to treat NaNs correctly
((Character) getDefaultValue()).equals(factory.getDefaultValue())
;
} else {
return false;
}
}
@Override
public char getDefaultValue() {
return (char) 0;
}
private
UpdatableQHashSeparateKVObjCharMapGO shrunk(
UpdatableQHashSeparateKVObjCharMapGO map) {
Predicate shrinkCondition;
if ((shrinkCondition = hashConf.getShrinkCondition()) != null) {
if (shrinkCondition.test(map))
map.shrink();
}
return map;
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap() {
return this.newUpdatableMap(getDefaultExpectedSize());
}
@Override
@Nonnull
public
MutableQHashSeparateKVObjCharMapGO newMutableMap() {
return this.newMutableMap(getDefaultExpectedSize());
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map) {
return this.newUpdatableMap(map, map.size());
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2) {
long expectedSize = (long) map1.size();
expectedSize += (long) map2.size();
return this.newUpdatableMap(map1, map2, sizeAsInt(expectedSize));
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
Map extends K2, Character> map3) {
long expectedSize = (long) map1.size();
expectedSize += (long) map2.size();
expectedSize += (long) map3.size();
return this.newUpdatableMap(map1, map2, map3, sizeAsInt(expectedSize));
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
Map extends K2, Character> map3, Map extends K2, Character> map4) {
long expectedSize = (long) map1.size();
expectedSize += (long) map2.size();
expectedSize += (long) map3.size();
expectedSize += (long) map4.size();
return this.newUpdatableMap(map1, map2, map3, map4, sizeAsInt(expectedSize));
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
Map extends K2, Character> map3, Map extends K2, Character> map4,
Map extends K2, Character> map5) {
long expectedSize = (long) map1.size();
expectedSize += (long) map2.size();
expectedSize += (long) map3.size();
expectedSize += (long) map4.size();
expectedSize += (long) map5.size();
return this.newUpdatableMap(map1, map2, map3, map4, map5, sizeAsInt(expectedSize));
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map, int expectedSize) {
return shrunk(super.newUpdatableMap(map, expectedSize));
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
map.putAll(map1);
map.putAll(map2);
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
Map extends K2, Character> map3, int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
map.putAll(map1);
map.putAll(map2);
map.putAll(map3);
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
Map extends K2, Character> map3, Map extends K2, Character> map4,
int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
map.putAll(map1);
map.putAll(map2);
map.putAll(map3);
map.putAll(map4);
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Map extends K2, Character> map1, Map extends K2, Character> map2,
Map extends K2, Character> map3, Map extends K2, Character> map4,
Map extends K2, Character> map5, int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
map.putAll(map1);
map.putAll(map2);
map.putAll(map3);
map.putAll(map4);
map.putAll(map5);
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Consumer> entriesSupplier) {
return this.newUpdatableMap(entriesSupplier, getDefaultExpectedSize());
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Consumer> entriesSupplier,
int expectedSize) {
final UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
entriesSupplier.accept(new com.koloboke.function.ObjCharConsumer() {
@Override
public void accept(K2 k, char v) {
map.put(k, v);
}
});
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
K2[] keys, char[] values) {
return this.newUpdatableMap(keys, values, keys.length);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
K2[] keys, char[] values, int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
int keysLen = keys.length;
if (keysLen != values.length)
throw new IllegalArgumentException("keys and values arrays must have the same size");
for (int i = 0; i < keys.length; i++) {
map.put(keys[i], values[i]);
}
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
K2[] keys, Character[] values) {
return this.newUpdatableMap(keys, values, keys.length);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
K2[] keys, Character[] values, int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
int keysLen = keys.length;
if (keysLen != values.length)
throw new IllegalArgumentException("keys and values arrays must have the same size");
for (int i = 0; i < keys.length; i++) {
map.put(keys[i], values[i]);
}
return shrunk(map);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Iterable extends K2> keys, Iterable values) {
int expectedSize = keys instanceof Collection ? ((Collection) keys).size() :
getDefaultExpectedSize();
return this.newUpdatableMap(keys, values, expectedSize);
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMap(
Iterable extends K2> keys, Iterable values, int expectedSize) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(expectedSize);
Iterator extends K2> keysIt = keys.iterator();
Iterator valuesIt = values.iterator();
try {
while (keysIt.hasNext()) {
map.put(keysIt.next(), valuesIt.next());
}
return shrunk(map);
} catch (NoSuchElementException e) {
throw new IllegalArgumentException(
"keys and values iterables must have the same size", e);
}
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMapOf(
K2 k1, char v1) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(1);
map.put(k1, v1);
return map;
}
@Override
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMapOf(
K2 k1, char v1, K2 k2, char v2) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(2);
map.put(k1, v1);
map.put(k2, v2);
return map;
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMapOf(
K2 k1, char v1, K2 k2, char v2,
K2 k3, char v3) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(3);
map.put(k1, v1);
map.put(k2, v2);
map.put(k3, v3);
return map;
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMapOf(
K2 k1, char v1, K2 k2, char v2,
K2 k3, char v3, K2 k4, char v4) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(4);
map.put(k1, v1);
map.put(k2, v2);
map.put(k3, v3);
map.put(k4, v4);
return map;
}
@Override
@Nonnull
public
UpdatableQHashSeparateKVObjCharMapGO newUpdatableMapOf(
K2 k1, char v1, K2 k2, char v2,
K2 k3, char v3, K2 k4, char v4,
K2 k5, char v5) {
UpdatableQHashSeparateKVObjCharMapGO map = newUpdatableMap(5);
map.put(k1, v1);
map.put(k2, v2);
map.put(k3, v3);
map.put(k4, v4);
map.put(k5, v5);
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(
Map extends K2, Character> map, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4, Map extends K2, Character> map5, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4, map5, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(
Consumer> entriesSupplier
, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(entriesSupplier, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(K2[] keys,
char[] values, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(keys, values, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(
K2[] keys, Character[] values, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(keys, values, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Iterable extends K2> keys,
Iterable values, int expectedSize) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(keys, values, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(
Map extends K2, Character> map) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, map3));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4, Map extends K2, Character> map5) {
MutableQHashSeparateKVObjCharMapGO res = uninitializedMutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4, map5));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(
Consumer> entriesSupplier
) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(entriesSupplier));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(K2[] keys,
char[] values) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(keys, values));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(
K2[] keys, Character[] values) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(keys, values));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMap(Iterable extends K2> keys,
Iterable values) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMap(keys, values));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMapOf(K2 k1, char v1) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMapOf(k1, v1));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMapOf(K2 k1, char v1,
K2 k2, char v2) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMapOf(k1, v1, k2, v2));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMapOf(K2 k1, char v1,
K2 k2, char v2, K2 k3, char v3) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMapOf(k1, v1, k2, v2, k3, v3));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMapOf(K2 k1, char v1,
K2 k2, char v2, K2 k3, char v3,
K2 k4, char v4) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMapOf(k1, v1, k2, v2, k3, v3, k4, v4));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newMutableMapOf(K2 k1, char v1,
K2 k2, char v2, K2 k3, char v3,
K2 k4, char v4, K2 k5, char v5) {
MutableQHashSeparateKVObjCharMapGO map = uninitializedMutableMap();
map.move(this.newUpdatableMapOf(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(
Map extends K2, Character> map, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4, Map extends K2, Character> map5, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4, map5, expectedSize));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(
Consumer> entriesSupplier
, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO map = uninitializedImmutableMap();
map.move(this.newUpdatableMap(entriesSupplier, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(K2[] keys,
char[] values, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO map = uninitializedImmutableMap();
map.move(this.newUpdatableMap(keys, values, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(
K2[] keys, Character[] values, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO map = uninitializedImmutableMap();
map.move(this.newUpdatableMap(keys, values, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Iterable extends K2> keys,
Iterable values, int expectedSize) {
ImmutableQHashSeparateKVObjCharMapGO map = uninitializedImmutableMap();
map.move(this.newUpdatableMap(keys, values, expectedSize));
return map;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(
Map extends K2, Character> map) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, map3));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(Map extends K2, Character> map1,
Map extends K2, Character> map2, Map extends K2, Character> map3,
Map extends K2, Character> map4, Map extends K2, Character> map5) {
ImmutableQHashSeparateKVObjCharMapGO res = uninitializedImmutableMap();
res.move(this.newUpdatableMap(map1, map2, map3, map4, map5));
return res;
}
@Override
@Nonnull
public
HashObjCharMap newImmutableMap(
Consumer> entriesSupplier
) {
ImmutableQHashSeparateKVObjCharMapGO map = uninitializedImmutableMap();
map.move(this.