Home
last modified time | relevance | path

Searched refs:asSet (Results 1 – 22 of 22) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeSetTest.java78 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/
DOptionalTest.java135 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/
DOptionalTest.java138 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/
DSetFactory.java75 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/
DXLocaleMatcher.java55 … 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/
DResolvedBindings.java75 return ImmutableSet.copyOf(membersInjectionBinding().asSet()); in bindings()
91 return ImmutableSet.copyOf(ownedMembersInjectionBinding().asSet()); in ownedBindings()
DBindingGraph.java139 : input.contributedBy().asSet(); in componentRequirements()
144 .append(componentDescriptor().executorDependency().asSet()) in componentRequirements()
152 .addAll(componentDescriptor().executorDependency().asSet())
381 .putAll(owningComponent, provisionBinding.asSet())
DProductionBinding.java66 return Sets.union(monitorRequest().asSet(), super.implicitDependencies()); in implicitDependencies()
DContributionBinding.java66 return Sets.union(membersInjectionRequest().asSet(), dependencies()); in implicitDependencies()
DBinding.java111 bindingPackagesBuilder.addAll(binding.bindingPackage().asSet()); in bindingPackageFor()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLocaleMatcher.java58 … 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/
DXLocaleMatcher.java63 … 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/
Dasset.test7 public Set<T> asSet() { return null; }
/external/guava/guava-gwt/src/com/google/common/base/
DGwtSerializationDependencies.java69 @Override public Set<T> asSet() { in asSet() method in GwtSerializationDependencies.OptionalDependencies
/external/guava/guava/src/com/google/common/base/
DPresent.java66 @Override public Set<T> asSet() { in asSet() method in Present
DAbsent.java68 @Override public Set<T> asSet() { in asSet() method in Absent
DOptional.java173 public abstract Set<T> asSet(); in asSet() method in Optional
/external/guava/guava/src/com/google/common/collect/
DImmutableRangeSet.java347 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/
DFieldWriter.java56 Iterables.concat(ImmutableList.of(type()), initializer.asSet(), annotations); in referencedClasses()
DMethodWriter.java116 .append(body.asSet()) in referencedClasses()
DClassWriter.java147 .append(superclass.asSet()) in referencedClasses()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DArbitraryMeasurementInstrument.java139 return ImmutableList.copyOf(measurement.asSet()); in getMeasurements()