Fixes incorrect size
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -128,7 +128,6 @@
|
||||
<groupId>com.koloboke</groupId>
|
||||
<artifactId>koloboke-impl-jdk8</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class RegistryBlockID<T> implements Registry<T> {
|
||||
|
||||
public RegistryBlockID(int i) {
|
||||
this.c = Lists.newArrayListWithExpectedSize(i);
|
||||
this.b = com.koloboke.collect.map.hash.HashObjIntMaps.getDefaultFactory().withHashConfig(com.koloboke.collect.hash.HashConfig.fromLoads(1./3., 2./3., 2./3.)).withNullKeyAllowed(true).withKeyEquivalence(com.koloboke.collect.Equivalence.identity()).newUpdatableMap(i); // Akarin - koloboke
|
||||
this.b = com.koloboke.collect.map.hash.HashObjIntMaps.getDefaultFactory().withHashConfig(com.koloboke.collect.hash.HashConfig.fromLoads(1./3., 2./3., 2./3.)).withNullKeyAllowed(true).withKeyEquivalence(com.koloboke.collect.Equivalence.identity()).newUpdatableMap((int) (i * com.koloboke.collect.hash.HashConfig.getDefault().getTargetLoad())); // Akarin - koloboke
|
||||
}
|
||||
|
||||
public void a(T t0, int i) {
|
||||
|
||||
Reference in New Issue
Block a user