Lines Matching refs:expectedValuesPerKey
53 transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
68 * @param expectedValuesPerKey the expected average number of values per key
70 * expectedValuesPerKey} is negative
73 int expectedKeys, int expectedValuesPerKey) {
74 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
93 private HashMultimap(int expectedKeys, int expectedValuesPerKey) {
95 Preconditions.checkArgument(expectedValuesPerKey >= 0);
96 this.expectedValuesPerKey = expectedValuesPerKey;
113 return Sets.<V>newHashSetWithExpectedSize(expectedValuesPerKey);
117 * @serialData expectedValuesPerKey, number of distinct keys, and then for
123 stream.writeInt(expectedValuesPerKey);
130 expectedValuesPerKey = stream.readInt();