F - the concrete factory type which extends this interfacepublic interface HashContainerFactory<F extends HashContainerFactory<F>> extends ContainerFactory<F>
Configurations from this interface, hash config and default expected size, don't affect application semantics in any way, only performance and memory footprint characteristics.
HashContainer| Modifier and Type | Method and Description | 
|---|---|
| HashConfig | getHashConfig()Returns the hash config, with which containers constructed by this factory are initialized. | 
| F | withHashConfig(HashConfig config)Returns a copy of this factory with hash config set to the given one. | 
getDefaultExpectedSize, withDefaultExpectedSize@Nonnull HashConfig getHashConfig()
Default hash config is HashConfig.getDefault().
@Nonnull F withHashConfig(@Nonnull HashConfig config)
config - the new hash config