Home
last modified time | relevance | path

Searched refs:expectedKeys (Results 1 – 22 of 22) 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.java86 int expectedKeys, int expectedValuesPerKey) { in create() argument
87 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
106 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { in ArrayListMultimap() argument
107 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DLinkedListMultimap.java179 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { in create() argument
180 return new LinkedListMultimap<K, V>(expectedKeys); in create()
199 private LinkedListMultimap(int expectedKeys) { in LinkedListMultimap() argument
200 keyToKeyList = new HashMap<K, KeyList<K, V>>(expectedKeys); in LinkedListMultimap()
DLinkedHashMultimap.java98 int expectedKeys, int expectedValuesPerKey) { in create() argument
100 Maps.capacity(expectedKeys), in create()
/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.java91 int expectedKeys, int expectedValuesPerKey) { in create() argument
92 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
111 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { in ArrayListMultimap() argument
112 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DMultimapBuilder.java94 public static MultimapBuilderWithKeys<Object> hashKeys(final int expectedKeys) { in hashKeys() argument
95 checkNonnegative(expectedKeys, "expectedKeys"); in hashKeys()
99 return new HashMap<K, Collection<V>>(expectedKeys); in hashKeys()
125 public static MultimapBuilderWithKeys<Object> linkedHashKeys(final int expectedKeys) {
126 checkNonnegative(expectedKeys, "expectedKeys");
130 return new LinkedHashMap<K, Collection<V>>(expectedKeys);
DLinkedListMultimap.java183 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { in create() argument
184 return new LinkedListMultimap<K, V>(expectedKeys); in create()
203 private LinkedListMultimap(int expectedKeys) { in LinkedListMultimap() argument
204 keyToKeyList = new HashMap<K, KeyList<K, V>>(expectedKeys); in LinkedListMultimap()
DLinkedHashMultimap.java102 int expectedKeys, int expectedValuesPerKey) { in create() argument
104 Maps.capacity(expectedKeys), in create()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerTest.java128 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher() local
134 expectedKeys.add(s); in testRemovalNotification_clear_basher()
149 expectedKeys.add(s); in testRemovalNotification_clear_basher()
178 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryModuleBuilderTest.java423 Set<Key<?>> expectedKeys = ImmutableSet.<Key<?>>of( in testFactoryBindingDependencies() local
434 validateDependencies(expectedKeys, injector.getBinding(AnimalHouse.class)); in testFactoryBindingDependencies()
437 validateDependencies(expectedKeys, injector.getBinding(AnimalHouse.class)); in testFactoryBindingDependencies()
446 validateDependencies(expectedKeys, binding); in testFactoryBindingDependencies()
454 private void validateDependencies(Set<Key<?>> expectedKeys, Binding<?> binding) { in validateDependencies() argument
460 assertEquals(expectedKeys, actualKeys); in validateDependencies()
/external/robolectric/v1/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.java465 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher() local
471 expectedKeys.add(s); in testRemovalNotification_clear_basher()
487 expectedKeys.add(s); in testRemovalNotification_clear_basher()
516 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java4320 Set<String> expectedKeys = expectedKeywords.keySet(); in TestUnicodeLocaleExtension() local
4321 if (keys.size() != expectedKeys.size()) { in TestUnicodeLocaleExtension()
4323 + keys.size() + ", expected=" + expectedKeys.size() in TestUnicodeLocaleExtension()
4327 for (String expKey : expectedKeys) { in TestUnicodeLocaleExtension()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4319 Set<String> expectedKeys = expectedKeywords.keySet(); in TestUnicodeLocaleExtension() local
4320 if (keys.size() != expectedKeys.size()) { in TestUnicodeLocaleExtension()
4322 + keys.size() + ", expected=" + expectedKeys.size() in TestUnicodeLocaleExtension()
4326 for (String expKey : expectedKeys) { in TestUnicodeLocaleExtension()
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...