private static int computeMapInitialCapacity(int expectedSize) {
        return (int) Math.ceil(expectedSize / (double) DEFAULT_LOAD_FACTOR);
    }
Instantiate a new {link HashMap} with an initial capacity
that can accommodate the specified number of elements without
any immediate resize/rehash operations to be expected.
<p>This differs from the regular {link HashMap} constructor
which takes an initial capacity relative to a load factor
but is effectively aligned with the JDK's
{link java.util.concurrent.ConcurrentHashMap#ConcurrentHashMap(int)}.

@param expectedSize the expected number of elements (with a corresponding
                    capacity to be derived so that no resize/rehash operations are needed)
see #newLinkedHashMap(int)
@since 5.3
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/CollectionUtils.java