Searched defs:expectedMaxSize (Results 1 - 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DIdentityHashMap.java219 * @param expectedMaxSize the expected maximum size of the map
220 * @throws IllegalArgumentException if <tt>expectedMaxSize</tt> is negative
222 public IdentityHashMap(int expectedMaxSize) { argument
223 if (expectedMaxSize < 0)
224 throw new IllegalArgumentException("expectedMaxSize is negative: "
225 + expectedMaxSize);
226 init(capacity(expectedMaxSize));
233 * expectedMaxSize)/2, if such a number exists. Otherwise returns
236 private static int capacity(int expectedMaxSize) { argument
237 // assert expectedMaxSize >
[all...]

Completed in 4600 milliseconds