HomeSort by relevance Sort by last modified time
    Searched defs:newHashSet (Results 1 - 24 of 24) sorted by null

  /frameworks/base/core/java/com/google/android/collect/
Sets.java 43 public static <K> HashSet<K> newHashSet() {
53 * <p>{@code Set<Base> set = Sets.newHashSet(sub1, sub2);}
58 * <p>{@code Set<Base> set = Sets.<Base>newHashSet(sub1, sub2);}
64 public static <E> HashSet<E> newHashSet(E... elements) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
CollectionUtils.java 55 public static <E> HashSet<E> newHashSet() {
  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
MappingFileProviderTest.java 45 mapping.put(1, newHashSet("en"));
46 mapping.put(86, newHashSet("zh", "en", "zh_Hant"));
47 mapping.put(41, newHashSet("de", "fr", "it", "rm"));
48 mapping.put(65, newHashSet("en", "zh_Hans", "ms", "ta"));
53 private static HashSet<String> newHashSet(String... strings) {
  /external/guava/guava-tests/test/com/google/common/collect/
TreeMultimapNaturalTest.java 20 import static com.google.common.collect.Sets.newHashSet;
156 assertEquals(Sets.newHashSet(1, 3), fooSet);
158 assertEquals(Sets.newHashSet(), missingSet);
161 assertEquals(Sets.newHashSet(0, 1, 3), fooSet);
164 assertEquals(Sets.newHashSet(2), multimap.get("missing"));
170 assertEquals(Sets.newHashSet(3, 7), fooSet);
172 assertEquals(Sets.newHashSet(), missingSet);
175 assertEquals(Sets.newHashSet(3, 6, 7), fooSet);
178 assertEquals(Sets.newHashSet(9), multimap.get("missing"));
184 assertEquals(Sets.newHashSet(3), fooSet)
    [all...]
LinkedHashMultimapTest.java 20 import static com.google.common.collect.Sets.newHashSet;
221 assertEquals(newHashSet(elements), multimap.get("foo"));
249 assertEquals(newHashSet(elements), multimap.entries());
314 assertEquals(newHashSet(elements), multimap.keySet());
324 (Collection<Integer>) Sets.newHashSet(2, 3, 6)),
326 (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)),
328 (Collection<Integer>) Sets.newHashSet(7, 8)),
330 (Collection<Integer>) Sets.newHashSet(9)),
332 (Collection<Integer>) Sets.newHashSet(12, 13, 14))
353 assertEquals(newHashSet(elements), multimap.asMap().entrySet())
    [all...]
TreeMultimapExplicitTest.java 189 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo"));
190 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
191 assertEquals(Sets.newHashSet("tree"), keySet.subSet("ask", "yahoo"));
LinkedListMultimapTest.java 20 import static com.google.common.collect.Sets.newHashSet;
429 assertEquals(newHashSet(elements), multimap.keySet());
469 assertEquals(newHashSet(elements), multimap.asMap().entrySet());
ImmutableBiMapTest.java 174 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
175 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
504 assertEquals(Sets.newHashSet("one", "two", "three", "four"), keys);
512 assertEquals(Sets.newHashSet(1, 2, 3, 4), values);
ImmutableMapTest.java 171 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
ImmutableSortedMapTest.java 184 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
185 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
  /external/guava/guava/src/com/google/common/collect/
Sets.java 156 public static <E> HashSet<E> newHashSet() {
174 public static <E> HashSet<E> newHashSet(E... elements) {
210 public static <E> HashSet<E> newHashSet(Iterable<? extends E> elements) {
213 : newHashSet(elements.iterator());
229 public static <E> HashSet<E> newHashSet(Iterator<? extends E> elements) {
230 HashSet<E> set = newHashSet();
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Sets.java 153 public static <E> HashSet<E> newHashSet() {
171 public static <E> HashSet<E> newHashSet(E... elements) {
207 public static <E> HashSet<E> newHashSet(Iterable<? extends E> elements) {
210 : newHashSet(elements.iterator());
226 public static <E> HashSet<E> newHashSet(Iterator<? extends E> elements) {
227 HashSet<E> set = newHashSet();
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/editor/
ContactEditorUtilsTest.java 94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types));
100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType),
101 Sets.newHashSet(types));
108 Sets.newHashSet(TYPE1.accountType, TYPE2.accountType, TYPE2EX.accountType),
109 Sets.newHashSet(types));
130 Sets.newHashSet(mAccountTypes.mAccounts),
138 Sets.newHashSet(mAccountTypes.mAccounts),
146 Sets.newHashSet(mAccountTypes.mAccounts),
294 Set<T> ret = Sets.newHashSet();
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.common_3.6.0.v20100503.jar 
org.apache.jasper_5.5.17.v201004212143.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar 
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /tools/motodev/src/plugins/videos/libs/gdata/java/deps/
google-collect-1.0-rc1.jar 
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 
lint_api.jar 
lint_checks.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 

Completed in 544 milliseconds