Lines Matching full:capacity
171 int capacity = Maps.capacity(elements.length);
172 HashSet<E> set = new HashSet<E>(capacity);
178 * Creates an empty {@code HashSet} instance with enough capacity to hold the
182 * @return a new, empty {@code HashSet} with enough capacity to hold {@code
187 return new HashSet<E>(Maps.capacity(expectedSize));