Lines Matching refs:expectedSize
117 * @param expectedSize expected number of elements in the map
119 public OpenIntToFieldHashMap(final Field<T> field,final int expectedSize) {
120 this(field,expectedSize, field.getZero());
126 * @param expectedSize expected number of elements in the map
129 public OpenIntToFieldHashMap(final Field<T> field,final int expectedSize,
132 final int capacity = computeCapacity(expectedSize);
161 * @param expectedSize expected size of the map
164 private static int computeCapacity(final int expectedSize) {
165 if (expectedSize == 0) {
168 final int capacity = (int) FastMath.ceil(expectedSize / LOAD_FACTOR);