Lines Matching defs:capacity
41 * you have no control over this shrinking -- if you set a capacity and then remove an
42 * item, it may reduce the capacity to better match the current size. In the future an
43 * explicit call to set the capacity should turn off this aggressive shrinking behavior.</p>
50 * The minimum amount by which the capacity of a ArrayMap will increase.
233 * Create a new empty ArrayMap. The default capacity of an array map is 0, and
243 * Create a new ArrayMap with a given initial capacity.
245 public ArrayMap(int capacity) {
246 if (capacity == 0) {
250 allocArrays(capacity);
286 * Like {@link #clear}, but doesn't reduce the capacity of the ArrayMap.