Lines Matching refs:expectedValuesPerKey
74 transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
96 * @param expectedValuesPerKey the expected average number of values per key
98 * expectedValuesPerKey} is negative
101 int expectedKeys, int expectedValuesPerKey) {
102 return new LinkedHashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
124 private LinkedHashMultimap(int expectedKeys, int expectedValuesPerKey) {
126 Preconditions.checkArgument(expectedValuesPerKey >= 0);
127 this.expectedValuesPerKey = expectedValuesPerKey;
129 expectedKeys * expectedValuesPerKey);
150 return new LinkedHashSet<V>(Maps.capacity(expectedValuesPerKey));
354 stream.writeInt(expectedValuesPerKey);
365 expectedValuesPerKey = stream.readInt();
369 distinctKeys * expectedValuesPerKey);