Home
last modified time | relevance | path

Searched refs:expectedKeys (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DHashMultimap.java69 int expectedKeys, int expectedValuesPerKey) { in create() argument
70 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
89 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { in HashMultimap() argument
90 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in HashMultimap()
DArrayListMultimap.java82 int expectedKeys, int expectedValuesPerKey) { in create() argument
83 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
102 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { in ArrayListMultimap() argument
103 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DLinkedHashMultimap.java99 int expectedKeys, int expectedValuesPerKey) { in create() argument
100 return new LinkedHashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
122 private LinkedHashMultimap(int expectedKeys, int expectedValuesPerKey) { in LinkedHashMultimap() argument
123 super(new LinkedHashMap<K, Collection<V>>(expectedKeys)); in LinkedHashMultimap()
128 ((long) expectedKeys) * expectedValuesPerKey)); in LinkedHashMultimap()
DLinkedListMultimap.java146 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { in create() argument
147 return new LinkedListMultimap<K, V>(expectedKeys); in create()
168 private LinkedListMultimap(int expectedKeys) { in LinkedListMultimap() argument
169 keyCount = LinkedHashMultiset.create(expectedKeys); in LinkedListMultimap()
170 keyToKeyHead = Maps.newHashMapWithExpectedSize(expectedKeys); in LinkedListMultimap()
171 keyToKeyTail = Maps.newHashMapWithExpectedSize(expectedKeys); in LinkedListMultimap()
/external/guava/guava/src/com/google/common/collect/
DHashMultimap.java74 int expectedKeys, int expectedValuesPerKey) { in create() argument
75 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
94 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { in HashMultimap() argument
95 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in HashMultimap()
DArrayListMultimap.java87 int expectedKeys, int expectedValuesPerKey) { in create() argument
88 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
107 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { in ArrayListMultimap() argument
108 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DLinkedHashMultimap.java103 int expectedKeys, int expectedValuesPerKey) { in create() argument
104 return new LinkedHashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
126 private LinkedHashMultimap(int expectedKeys, int expectedValuesPerKey) { in LinkedHashMultimap() argument
127 super(new LinkedHashMap<K, Collection<V>>(expectedKeys)); in LinkedHashMultimap()
132 ((long) expectedKeys) * expectedValuesPerKey)); in LinkedHashMultimap()
DLinkedListMultimap.java150 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { in create() argument
151 return new LinkedListMultimap<K, V>(expectedKeys); in create()
172 private LinkedListMultimap(int expectedKeys) { in LinkedListMultimap() argument
173 keyCount = LinkedHashMultiset.create(expectedKeys); in LinkedListMultimap()
174 keyToKeyHead = Maps.newHashMapWithExpectedSize(expectedKeys); in LinkedListMultimap()
175 keyToKeyTail = Maps.newHashMapWithExpectedSize(expectedKeys); in LinkedListMultimap()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerTest.java119 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher() local
125 expectedKeys.add(s); in testRemovalNotification_clear_basher()
140 expectedKeys.add(s); in testRemovalNotification_clear_basher()
169 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
DStartedServiceMatcher.java72 Set<String> expectedKeys = shadowOf(expectedIntent).getExtras().keySet(); in matchesSafely() local
73 intentsMatch = keys.equals(expectedKeys); in matchesSafely()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java472 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher() local
478 expectedKeys.add(s); in testRemovalNotification_clear_basher()
494 expectedKeys.add(s); in testRemovalNotification_clear_basher()
523 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()