/external/testng/src/main/java/org/testng/collections/ |
SetMultiMap.java | 12 return Sets.newHashSet();
|
Sets.java | 12 public static <V> Set<V> newHashSet() { 16 public static <V> Set<V> newHashSet(Collection<V> c) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SetOperationsTest.java | 51 Sets.<String>newHashSet(), Sets.<String>newHashSet()); 63 Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); 73 Sets.<String>newHashSet(), Sets.newHashSet(elements)); 84 Sets.newHashSet(elements), Sets.<String>newHashSet()); 111 Sets.newHashSet(elements[0]), 112 Sets.newHashSet(elements[1], elements[2])) [all...] |
ForwardingObjectTest.java | 41 final Set<String> delegate = Sets.newHashSet("foo");
|
SetsTest.java | 21 import static com.google.common.collect.Sets.newHashSet; 133 ? Sets.newHashSet( 135 : Sets.newHashSet(elements); 138 ? Sets.newHashSet( 140 : Sets.<String>newHashSet(); 150 Set<String> set1 = Sets.newHashSet(elements); 152 Set<String> set2 = Sets.newHashSet(elements); 163 Set<String> set1 = Sets.newHashSet(elements); 165 Set<String> set2 = Sets.newHashSet(samples().e3); 406 HashSet<Integer> set = Sets.newHashSet(); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
TransactionContext.java | 65 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 72 mDirtyRawContacts = Sets.newHashSet(); 83 mMetadataDirtyRawContacts = Sets.newHashSet(); 91 mBackupIdChangedRawContacts = Sets.newHashSet(); 98 mChangedRawContacts = Sets.newHashSet(); 109 if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet(); 114 if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet(); 124 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 129 if (mDirtyRawContacts == null) mDirtyRawContacts = Sets.newHashSet(); 134 if (mMetadataDirtyRawContacts == null) mMetadataDirtyRawContacts = Sets.newHashSet(); [all...] |
/external/jcommander/src/main/java/com/beust/jcommander/internal/ |
Sets.java | 27 public static <K> Set<K> newHashSet() {
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/ |
FeatureUtilTest.java | 152 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet( 160 features = Sets.<Feature<?>>newHashSet( 165 features = Sets.<Feature<?>>newHashSet( 171 features = Sets.<Feature<?>>newHashSet( 182 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet( 190 features = Sets.<Feature<?>>newHashSet( 194 features = Sets.<Feature<?>>newHashSet( 199 features = Sets.<Feature<?>>newHashSet( 212 Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1), 218 Sets.<Feature<?>>newHashSet( [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
SetOperationsTest.java | 40 friends = Sets.newHashSet("Tom", "Joe", "Dave"); 41 enemies = Sets.newHashSet("Dick", "Harry", "Tom"); 59 Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave"); 60 Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); 77 Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave"); 78 Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom"); 95 Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave"); 96 Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom");
|
SetsTest.java | 21 import static com.google.common.collect.Sets.newHashSet; 148 HashSet<Integer> set = Sets.newHashSet(); 153 HashSet<Integer> set = Sets.newHashSet(0, 1, 1); 158 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION); 163 HashSet<Integer> set = Sets.newHashSet(SOME_ITERABLE); 178 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator()); 300 Set<SomeEnum> units = Sets.newHashSet(SomeEnum.B, SomeEnum.D); 306 Set<SomeEnum> units = Sets.newHashSet(SomeEnum.B, SomeEnum.D); 318 Set<SomeEnum> allUnits = Sets.newHashSet(SomeEnum.values()); 494 Set<Set<Integer>> expected = newHashSet(); [all...] |
/external/libphonenumber/internal/prefixmapper/test/com/google/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-testlib/src/com/google/common/collect/testing/google/ |
SetMultimapAsMapTester.java | 74 expected.put(sampleKeys().e0, Sets.newHashSet(sampleValues().e0, sampleValues().e3)); 75 expected.put(sampleKeys().e1, Sets.newHashSet(sampleValues().e0)); 87 Set<Entry<K, Collection<V>>> expected = Sets.newHashSet(); 90 (Collection<V>) Sets.newHashSet(sampleValues().e0, sampleValues().e3))); 93 (Collection<V>) Sets.newHashSet(sampleValues().e0))); 110 sampleKeys().e0, Sets.newHashSet(sampleValues().e0, sampleValues().e3)),
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
ThreadingTest.java | 51 final HashSet<String> expectedBodies = Sets.newHashSet(); 72 final Set<String> seenFiles = Sets.newHashSet(); 73 final HashSet<String> actualBodies = Sets.newHashSet();
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderFactory.java | 42 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null); 43 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null); 44 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null); 45 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null); 46 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null); 47 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null); 48 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null); 49 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
|
/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) {
|
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfo.java | 47 Set<ClassPathPackageInfo> info = Sets.newHashSet(); 55 Set<Class<?>> set = Sets.newHashSet();
|
DatabaseTestUtils.java | 45 Set<String> schemaSet = Sets.newHashSet();
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
DefaultRootKeySetCreator.java | 38 Set<Key<?>> root = Sets.newHashSet();
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
CollectionUtil.java | 21 public static <E> HashSet<E> newHashSet(E... elements) {
|
/external/testng/src/test/java/test/ |
NestedStaticTest.java | 27 Set<String> actual = Sets.newHashSet();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListInterleaveFocusables.java | 32 private Set<Integer> mFocusablePositions = Sets.newHashSet(1, 3, 6);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
ContactAggregatorHelperTest.java | 74 MoreAsserts.assertContentsInAnyOrder(connectedRawContactSets, Sets.newHashSet(100l, 75 101l), Sets.newHashSet(102l, 103l), Sets.newHashSet(104l, 105l, 106l, 107l)); 104 MoreAsserts.assertContentsInAnyOrder(connectedRawContactSets, Sets.newHashSet(100l, 105 101l), Sets.newHashSet(102l), Sets.newHashSet(103l));
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
JackCodeCoverageTestTest.java | 89 Set<String> expectedFiles = Sets.newHashSet(FOO_METADATA, BAR_METADATA, BAZ_METADATA); 175 Set<File> coverageFiles = Sets.newHashSet(COVERAGE_FILE1, COVERAGE_FILE2, COVERAGE_FILE3); 176 Set<File> metadataFiles = Sets.newHashSet(METADATA_FILE1, METADATA_FILE2, METADATA_FILE3); 204 Set<File> coverageFiles = Sets.newHashSet(COVERAGE_FILE1, COVERAGE_FILE2, COVERAGE_FILE3); 205 Set<File> metadataFiles = Sets.newHashSet(METADATA_FILE1, METADATA_FILE2, METADATA_FILE3); 228 Set<File> coverageFiles = Sets.newHashSet(COVERAGE_FILE1, COVERAGE_FILE2, COVERAGE_FILE3); 229 Set<File> metadataFiles = Sets.newHashSet(METADATA_FILE1, METADATA_FILE2, METADATA_FILE3); 252 Set<File> coverageFiles = Sets.newHashSet(COVERAGE_FILE1, COVERAGE_FILE2, COVERAGE_FILE3); 253 Set<File> metadataFiles = Sets.newHashSet(METADATA_FILE1, METADATA_FILE2, METADATA_FILE3);
|
/external/testng/src/test/java/org/testng/ |
AssertTest.java | 54 Set expected = Sets.newHashSet();
55 Set actual = Sets.newHashSet();
96 Set actual = Sets.newHashSet();
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
ClassPathTest.java | 86 Set<String> names = Sets.newHashSet(); 87 Set<String> strings = Sets.newHashSet(); 88 Set<Class<?>> classes = Sets.newHashSet(); 89 Set<String> packageNames = Sets.newHashSet(); 90 Set<String> simpleNames = Sets.newHashSet(); 115 Set<String> names = Sets.newHashSet(); 116 Set<String> strings = Sets.newHashSet(); 117 Set<Class<?>> classes = Sets.newHashSet(); 118 Set<String> packageNames = Sets.newHashSet(); 119 Set<String> simpleNames = Sets.newHashSet(); [all...] |