/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeSetTest.java | 78 return builder.build().asSet(DiscreteDomain.integers()); in create() 111 return builder.build().asSet(DiscreteDomain.bigIntegers()); in create() 392 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers()); in testAsSet() local 393 assertEquals(expectedSet, asSet); in testAsSet() 394 assertThat(asSet).has().exactlyAs(expectedSet).inOrder(); in testAsSet() 395 assertTrue(asSet.containsAll(expectedSet)); in testAsSet() 396 SerializableTester.reserializeAndAssert(asSet); in testAsSet() 408 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers()); in testAsSetHeadSet() local 411 assertEquals(asSet.headSet(i, false), expectedSet.headSet(i, false)); in testAsSetHeadSet() 412 assertEquals(asSet.headSet(i, true), expectedSet.headSet(i, true)); in testAsSetHeadSet() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | OptionalTest.java | 135 assertEquals(expected, Optional.of("a").asSet()); in testAsSet_present() 139 assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty()); in testAsSet_absent() 143 Set<String> presentAsSet = Optional.of("a").asSet(); in testAsSet_presentIsImmutable() 152 Set<Object> absentAsSet = Optional.absent().asSet(); in testAsSet_absentIsImmutable()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | OptionalTest.java | 138 assertEquals(expected, Optional.of("a").asSet()); in testAsSet_present() 142 assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty()); in testAsSet_absent() 146 Set<String> presentAsSet = Optional.of("a").asSet(); in testAsSet_presentIsImmutable() 155 Set<Object> absentAsSet = Optional.absent().asSet(); in testAsSet_absentIsImmutable()
|
/external/dagger2/core/src/main/java/dagger/internal/ |
D | SetFactory.java | 75 Set<Object> asSet = new HashSet<Object>(original); in hasDuplicates() local 76 return original.size() != asSet.size(); in hasDuplicates()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | XLocaleMatcher.java | 55 … this.supportedLanguagesList = asSet(LocalePriorityList.add(languagePriorityList).build()); in setSupportedLocales() 60 this.supportedLanguagesList = asSet(languagePriorityList); in setSupportedLocales() 237 return getBestMatch(asSet(desiredLanguages), outputBestDesired); 241 private static Set<ULocale> asSet(LocalePriorityList languageList) {
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ResolvedBindings.java | 75 return ImmutableSet.copyOf(membersInjectionBinding().asSet()); in bindings() 91 return ImmutableSet.copyOf(ownedMembersInjectionBinding().asSet()); in ownedBindings()
|
D | BindingGraph.java | 139 : input.contributedBy().asSet(); in componentRequirements() 144 .append(componentDescriptor().executorDependency().asSet()) in componentRequirements() 152 .addAll(componentDescriptor().executorDependency().asSet()) 381 .putAll(owningComponent, provisionBinding.asSet())
|
D | ProductionBinding.java | 66 return Sets.union(monitorRequest().asSet(), super.implicitDependencies()); in implicitDependencies()
|
D | ContributionBinding.java | 66 return Sets.union(membersInjectionRequest().asSet(), dependencies()); in implicitDependencies()
|
D | Binding.java | 111 bindingPackagesBuilder.addAll(binding.bindingPackage().asSet()); in bindingPackageFor()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | XLocaleMatcher.java | 58 … this.supportedLanguagesList = asSet(LocalePriorityList.add(languagePriorityList).build()); in setSupportedLocales() 62 this.supportedLanguagesList = asSet(languagePriorityList); in setSupportedLocales() 250 return getBestMatch(asSet(desiredLanguages), outputBestDesired); 254 private static Set<ULocale> asSet(LocalePriorityList languageList) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | XLocaleMatcher.java | 63 … this.supportedLanguagesList = asSet(LocalePriorityList.add(languagePriorityList).build()); in setSupportedLocales() 67 this.supportedLanguagesList = asSet(languagePriorityList); in setSupportedLocales() 255 return getBestMatch(asSet(desiredLanguages), outputBestDesired); 259 private static Set<ULocale> asSet(LocalePriorityList languageList) {
|
/external/turbine/javatests/com/google/turbine/lower/testdata/ |
D | asset.test | 7 public Set<T> asSet() { return null; }
|
/external/guava/guava-gwt/src/com/google/common/base/ |
D | GwtSerializationDependencies.java | 69 @Override public Set<T> asSet() { in asSet() method in GwtSerializationDependencies.OptionalDependencies
|
/external/guava/guava/src/com/google/common/base/ |
D | Present.java | 66 @Override public Set<T> asSet() { in asSet() method in Present
|
D | Absent.java | 68 @Override public Set<T> asSet() { in asSet() method in Absent
|
D | Optional.java | 173 public abstract Set<T> asSet(); in asSet() method in Optional
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableRangeSet.java | 347 public ImmutableSortedSet<C> asSet(DiscreteDomain<C> domain) { 439 return subRangeSet(range).asSet(domain); 521 return new ImmutableRangeSet<C>(ranges).asSet(domain);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | FieldWriter.java | 56 Iterables.concat(ImmutableList.of(type()), initializer.asSet(), annotations); in referencedClasses()
|
D | MethodWriter.java | 116 .append(body.asSet()) in referencedClasses()
|
D | ClassWriter.java | 147 .append(superclass.asSet()) in referencedClasses()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ArbitraryMeasurementInstrument.java | 139 return ImmutableList.copyOf(measurement.asSet()); in getMeasurements()
|