Searched defs:expectedKeys (Results 1 - 8 of 8) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DHashMultimap.java68 * @param expectedKeys the expected number of distinct keys
70 * @throws IllegalArgumentException if {@code expectedKeys} or {@code
74 int expectedKeys, int expectedValuesPerKey) {
75 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
94 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { argument
95 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
73 create( int expectedKeys, int expectedValuesPerKey) argument
H A DArrayListMultimap.java81 * @param expectedKeys the expected number of distinct keys
83 * @throws IllegalArgumentException if {@code expectedKeys} or {@code
87 int expectedKeys, int expectedValuesPerKey) {
88 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey);
107 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { argument
108 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
86 create( int expectedKeys, int expectedValuesPerKey) argument
H A DLinkedHashMultimap.java97 * @param expectedKeys the expected number of distinct keys
99 * @throws IllegalArgumentException if {@code expectedKeys} or {@code
103 int expectedKeys, int expectedValuesPerKey) {
104 return new LinkedHashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
126 private LinkedHashMultimap(int expectedKeys, int expectedValuesPerKey) { argument
127 super(new LinkedHashMap<K, Collection<V>>(expectedKeys));
132 ((long) expectedKeys) * expectedValuesPerKey));
102 create( int expectedKeys, int expectedValuesPerKey) argument
H A DLinkedListMultimap.java147 * @param expectedKeys the expected number of distinct keys
148 * @throws IllegalArgumentException if {@code expectedKeys} is negative
150 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { argument
151 return new LinkedListMultimap<K, V>(expectedKeys);
172 private LinkedListMultimap(int expectedKeys) { argument
173 keyCount = LinkedHashMultiset.create(expectedKeys);
174 keyToKeyHead = Maps.newHashMapWithExpectedSize(expectedKeys);
175 keyToKeyTail = Maps.newHashMapWithExpectedSize(expectedKeys);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DArrayListMultimap.java76 * @param expectedKeys the expected number of distinct keys
78 * @throws IllegalArgumentException if {@code expectedKeys} or {@code
82 int expectedKeys, int expectedValuesPerKey) {
83 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey);
102 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { argument
103 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
81 create( int expectedKeys, int expectedValuesPerKey) argument
H A DHashMultimap.java63 * @param expectedKeys the expected number of distinct keys
65 * @throws IllegalArgumentException if {@code expectedKeys} or {@code
69 int expectedKeys, int expectedValuesPerKey) {
70 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
89 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { argument
90 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
68 create( int expectedKeys, int expectedValuesPerKey) argument
H A DLinkedHashMultimap.java93 * @param expectedKeys the expected number of distinct keys
95 * @throws IllegalArgumentException if {@code expectedKeys} or {@code
99 int expectedKeys, int expectedValuesPerKey) {
100 return new LinkedHashMultimap<K, V>(expectedKeys, expectedValuesPerKey);
122 private LinkedHashMultimap(int expectedKeys, int expectedValuesPerKey) { argument
123 super(new LinkedHashMap<K, Collection<V>>(expectedKeys));
128 ((long) expectedKeys) * expectedValuesPerKey));
98 create( int expectedKeys, int expectedValuesPerKey) argument
H A DLinkedListMultimap.java143 * @param expectedKeys the expected number of distinct keys
144 * @throws IllegalArgumentException if {@code expectedKeys} is negative
146 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { argument
147 return new LinkedListMultimap<K, V>(expectedKeys);
168 private LinkedListMultimap(int expectedKeys) { argument
169 keyCount = LinkedHashMultiset.create(expectedKeys);
170 keyToKeyHead = Maps.newHashMapWithExpectedSize(expectedKeys);
171 keyToKeyTail = Maps.newHashMapWithExpectedSize(expectedKeys);

Completed in 132 milliseconds