public interface DynamicMap
Modifier and Type | Method and Description |
---|---|
default int |
mapExpectedElements(int expectedKeyMax)
Compute expected elements for hppc maps, so resizing won't happen if we store less elements than
threshold |
default int |
threshold(int expectedKeyMax)
Compute threshold for switching from hashMap based to array
|
default boolean |
useArrayBased(int expectedKeyMax) |
default boolean useArrayBased(int expectedKeyMax)
default int threshold(int expectedKeyMax)
default int mapExpectedElements(int expectedKeyMax)
threshold
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.