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