@Override HashLongIntMapFactory qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, long lower, long upper) { return new QHashSeparateKVLongIntMapFactoryImpl(hashConf, defaultExpectedSize, lower, upper); } @Override
@Override HashLongIntMapFactory qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, long lower, long upper) { return new QHashSeparateKVLongIntMapFactoryImpl(hashConf, defaultExpectedSize, lower, upper); } @Override
@Override HashLongIntMapFactory thisWith(HashConfig hashConf, int defaultExpectedSize, long lower, long upper) { return new QHashSeparateKVLongIntMapFactoryImpl(hashConf, defaultExpectedSize, lower, upper); }
@Override HashLongIntMapFactory qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, long lower, long upper) { return new QHashSeparateKVLongIntMapFactoryImpl(hashConf, defaultExpectedSize, lower, upper); } @Override
@Override HashLongIntMapFactory qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, long lower, long upper) { return new QHashSeparateKVLongIntMapFactoryImpl(hashConf, defaultExpectedSize, lower, upper); } @Override
@Override HashLongIntMapFactory thisWith(HashConfig hashConf, int defaultExpectedSize, long lower, long upper) { return new QHashSeparateKVLongIntMapFactoryImpl(hashConf, defaultExpectedSize, lower, upper); }
@Override @Nonnull public HashLongIntMapFactory withDefaultValue(int defaultValue) { if (defaultValue == 0) return new QHashSeparateKVLongIntMapFactoryImpl(getHashConfig(), getDefaultExpectedSize() , getLowerKeyDomainBound(), getUpperKeyDomainBound()); if (defaultValue == this.defaultValue) return this; return new WithCustomDefaultValue(getHashConfig(), getDefaultExpectedSize() , getLowerKeyDomainBound(), getUpperKeyDomainBound(), defaultValue); }
@Override @Nonnull public HashLongIntMapFactory withDefaultValue(int defaultValue) { if (defaultValue == 0) return new QHashSeparateKVLongIntMapFactoryImpl(getHashConfig(), getDefaultExpectedSize() , getLowerKeyDomainBound(), getUpperKeyDomainBound()); if (defaultValue == this.defaultValue) return this; return new WithCustomDefaultValue(getHashConfig(), getDefaultExpectedSize() , getLowerKeyDomainBound(), getUpperKeyDomainBound(), defaultValue); }