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

1 2 3

  /external/chromium_org/base/android/java/src/org/chromium/base/
CollectionUtil.java 20 public static <E> HashSet<E> newHashSet(E... elements) {
  /frameworks/base/core/java/com/google/android/collect/
Sets.java 45 public static <K> HashSet<K> newHashSet() {
55 * <p>{@code Set<Base> set = Sets.newHashSet(sub1, sub2);}
60 * <p>{@code Set<Base> set = Sets.<Base>newHashSet(sub1, sub2);}
66 public static <E> HashSet<E> newHashSet(E... elements) {
  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/prefixmapper/
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/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
InvalidationServiceTest.java 87 CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)),
89 CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)),
103 CollectionUtil.newHashSet(
110 CollectionUtil.newHashSet(
119 CollectionUtil.newHashSet(
121 CollectionUtil.newHashSet(
124 assertEquals(CollectionUtil.newHashSet(ModelType.BOOKMARK.toObjectId()), regAccumulator);
125 assertEquals(CollectionUtil.newHashSet(ModelType.TYPED_URL.toObjectId()),
155 assertEquals(CollectionUtil.newHashSet(
185 assertEquals(CollectionUtil.newHashSet(
    [all...]
  /packages/providers/TvProvider/src/com/android/providers/tv/
TvProvider.java     [all...]
  /packages/apps/Email/src/com/android/email/provider/
EmailProvider.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /prebuilts/devtools/tools/lib/
org-eclipse-equinox-common-3.6.0.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar 
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-equinox-common/3.6.0/
org-eclipse-equinox-common-3.6.0.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar 
  /libcore/benchmarks/libs/
caliper.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 

Completed in 460 milliseconds

1 2 3