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

1 2 3 4 5

  /external/guava/guava-tests/test/com/google/common/collect/
SetOperationsTest.java 49 Sets.<String>newHashSet(), Sets.<String>newHashSet());
61 Sets.<String>newHashSet(elements), Sets.newHashSet(elements));
71 Sets.<String>newHashSet(), Sets.newHashSet(elements));
82 Sets.newHashSet(elements), Sets.<String>newHashSet());
109 Sets.newHashSet(elements[0]),
110 Sets.newHashSet(elements[1], elements[2]))
    [all...]
AbstractSetMultimapTest.java 65 equalMap.put("foo", Sets.newHashSet(1, nullValue()));
66 equalMap.put(nullKey(), Sets.newHashSet(3));
72 equalMap.put("foo", Sets.newHashSet(3, nullValue()));
73 equalMap.put(nullKey(), Sets.newHashSet(1));
113 assertEquals(Sets.newHashSet(1, 3), array[0]);
118 asList(Sets.newHashSet(1, 3), Sets.newHashSet(3))));
120 asList(Sets.newHashSet(1, 3), Sets.newHashSet(1))));
161 Set<Map.Entry<String, Integer>> same = Sets.newHashSet(
    [all...]
ForwardingObjectTest.java 41 final Set<String> delegate = Sets.newHashSet("foo");
SetsTest.java 21 import static com.google.common.collect.Sets.newHashSet;
121 ? Sets.newHashSet(
123 : Sets.newHashSet(elements);
126 ? Sets.newHashSet(
128 : Sets.<String>newHashSet();
138 Set<String> set1 = Sets.newHashSet(elements);
140 Set<String> set2 = Sets.newHashSet(elements);
151 Set<String> set1 = Sets.newHashSet(elements);
153 Set<String> set2 = Sets.newHashSet(samples().e3);
354 HashSet<Integer> set = Sets.newHashSet();
    [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...]
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...]
AbstractImmutableSetTest.java 74 assertEquals(Sets.newHashSet("a", "b"), set);
79 assertEquals(Sets.newHashSet("a", "b", "c"), set);
84 assertEquals(Sets.newHashSet("a", "b", "c", "d"), set);
89 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e"), set);
94 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f"), set);
99 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g"), set);
104 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set);
453 Sets.newHashSet(expected), copyOf(misleading));
FauxveridesTest.java 20 import static com.google.common.collect.Sets.newHashSet;
130 Set<MethodSignature> methods = newHashSet();
138 Set<MethodSignature> publicStaticMethods = newHashSet();
153 Set<Class<?>> classes = newHashSet();
TransformedSetTest.java 70 Set<Integer> original = Sets.newHashSet(0, 1, 2, 3);
109 Set<Integer> invertedIntegers = Sets.newHashSet(Iterables.transform(integers,
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"));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
TransactionContext.java 56 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet();
61 if (mDirtyRawContacts == null) mDirtyRawContacts = Sets.newHashSet();
71 if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet();
76 if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet();
86 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet();
91 if (mDirtyRawContacts == null) mDirtyRawContacts = Sets.newHashSet();
96 if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet();
101 if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet();
  /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) {
  /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) {
  /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/guava/guava-tests/test/com/google/common/cache/
CacheBuilderFactory.java 41 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
42 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
43 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
44 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
45 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
46 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
47 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
48 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfo.java 46 Set<ClassPathPackageInfo> info = Sets.newHashSet();
54 Set<Class<?>> set = Sets.newHashSet();
DatabaseTestUtils.java 44 Set<String> schemaSet = Sets.newHashSet();
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListInterleaveFocusables.java 32 private Set<Integer> mFocusablePositions = Sets.newHashSet(1, 3, 6);
  /external/guava/guava-tests/test/com/google/common/io/
CheckCloseSupplier.java 38 private final Set<Callback> open = Sets.newHashSet();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
CollectionUtils.java 55 public static <E> HashSet<E> newHashSet() {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
UserHistoryDictionaryTests.java 63 final Set<String> wordSet = CollectionUtils.newHashSet();
  /sdk/monkeyrunner/src/com/android/monkeyrunner/
MonkeyRunnerHelp.java 63 final Set<Class<?>> classesVisited = Sets.newHashSet();
64 Set<Class<?>> classesToVisit = Sets.newHashSet();
254 Set<Class<?>> allClasses = Sets.newHashSet();
  /frameworks/base/core/java/android/net/
InterfaceConfiguration.java 34 private HashSet<String> mFlags = Sets.newHashSet();
NetworkPolicyManager.java 248 systemSignature = Sets.newHashSet(
257 final HashSet<Signature> packageSignature = Sets.newHashSet(
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
EvenMoreAsserts.java 110 Set<Object> set = Sets.newHashSet();

Completed in 1153 milliseconds

1 2 3 4 5