Lines Matching refs:expectedValuesPerKey
54 transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
69 * @param expectedValuesPerKey the expected average number of values per key
71 * expectedValuesPerKey} is negative
74 int expectedKeys, int expectedValuesPerKey) {
75 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
94 private HashMultimap(int expectedKeys, int expectedValuesPerKey) {
96 Preconditions.checkArgument(expectedValuesPerKey >= 0);
97 this.expectedValuesPerKey = expectedValuesPerKey;
114 return Sets.<V>newHashSetWithExpectedSize(expectedValuesPerKey);
118 * @serialData expectedValuesPerKey, number of distinct keys, and then for
125 stream.writeInt(expectedValuesPerKey);
133 expectedValuesPerKey = stream.readInt();