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