Home
last modified time | relevance | path

Searched refs:asSet (Results 1 – 19 of 19) 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/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/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/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/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/caliper/caliper/src/main/java/com/google/caliper/runner/
DArbitraryMeasurementInstrument.java139 return ImmutableList.copyOf(measurement.asSet()); in getMeasurements()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java262 if (validClassLoader && interfaces.equals(asSet(proxyClass.getInterfaces()))) { in buildProxyClass()
762 private static <T> Set<T> asSet(T... array) { in asSet() method in ProxyBuilder