Home | History | Annotate | Download | only in util

Lines Matching refs:expectedSize

108      * @param expectedSize expected number of elements in the map
110 public OpenIntToDoubleHashMap(final int expectedSize) {
111 this(expectedSize, Double.NaN);
116 * @param expectedSize expected number of elements in the map
119 public OpenIntToDoubleHashMap(final int expectedSize,
121 final int capacity = computeCapacity(expectedSize);
149 * @param expectedSize expected size of the map
152 private static int computeCapacity(final int expectedSize) {
153 if (expectedSize == 0) {
156 final int capacity = (int) FastMath.ceil(expectedSize / LOAD_FACTOR);