docs: public static int arraySize(final int expected, final float f) {
          final long s = Math.max(2, HashCommon.nextPowerOfTwo((long) Math.ceil(expected / f)));
          if (s > (1 << 30))
              throw new IllegalArgumentException("Too large (" + expected + " expected elements with load factor " + f + ")");
          return (int) s;
      }