Home
last modified time | relevance | path

Searched refs:ImmutableSet (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/external/owasp/sanitizer/src/main/org/owasp/html/
DCssSchema.java38 import com.google.common.collect.ImmutableSet;
50 final ImmutableSet<String> literals;
57 int bits, ImmutableSet<String> literals, in Property()
74 0, ImmutableSet.<String>of(), ImmutableMap.<String, String>of());
169 ImmutableSet<String> mozBorderRadiusLiterals0 = ImmutableSet.of("/");
170 ImmutableSet<String> mozOpacityLiterals0 = ImmutableSet.of("inherit");
171 ImmutableSet<String> mozOutlineLiterals0 = ImmutableSet.of(
199 ImmutableSet<String> mozOutlineLiterals1 = ImmutableSet.of(
201 ImmutableSet<String> mozOutlineLiterals2 = ImmutableSet.of("thick", "thin");
202 ImmutableSet<String> mozOutlineLiterals3 = ImmutableSet.of(
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DModifierKeyCombinationSetTest.java7 import com.google.common.collect.ImmutableSet;
15 …ModifierKeyCombination combination = ModifierKeyCombination.ofOnKeys(ImmutableSet.<ModifierKey> of… in testOfWithSingleCombination()
16 …ModifierKeyCombinationSet combinationSet = ModifierKeyCombinationSet.of(ImmutableSet.of(combinatio… in testOfWithSingleCombination()
23 ImmutableSet.of(ModifierKey.SHIFT, ModifierKey.COMMAND), in testOfWithMultipleCombinations()
24 ImmutableSet.of(ModifierKey.CONTROL)); in testOfWithMultipleCombinations()
26 ImmutableSet.of(ModifierKey.OPTION_RIGHT, ModifierKey.CONTROL), in testOfWithMultipleCombinations()
27 ImmutableSet.of(ModifierKey.COMMAND, ModifierKey.SHIFT_LEFT)); in testOfWithMultipleCombinations()
29ImmutableSet.of(ModifierKey.CONTROL_LEFT, ModifierKey.CONTROL_RIGHT, ModifierKey.CAPSLOCK), in testOfWithMultipleCombinations()
30 ImmutableSet.of(ModifierKey.ALT)); in testOfWithMultipleCombinations()
31 ModifierKeyCombinationSet combinationSet = ModifierKeyCombinationSet.of(ImmutableSet.of( in testOfWithMultipleCombinations()
[all …]
DModifierKeyCombinationTest.java6 import com.google.common.collect.ImmutableSet;
12 …ModifierKeyCombination combination = ModifierKeyCombination.ofOnKeys(ImmutableSet.of(ModifierKey.S… in testOfOnKeysForSimpleCombination()
13 ImmutableSet<ModifierKey> onKeys = ImmutableSet.of(ModifierKey.SHIFT); in testOfOnKeysForSimpleCombination()
15 ImmutableSet<ModifierKey> offKeys = ImmutableSet.of(ModifierKey.CONTROL, ModifierKey.OPTION, in testOfOnKeysForSimpleCombination()
22 ModifierKeyCombination combination = ModifierKeyCombination.ofOnKeys(ImmutableSet.of( in testOfOnKeysForComplexCombination()
24 ImmutableSet<ModifierKey> onKeys = ImmutableSet.of(ModifierKey.SHIFT, ModifierKey.ALT_RIGHT, in testOfOnKeysForComplexCombination()
27ImmutableSet<ModifierKey> offKeys = ImmutableSet.of(ModifierKey.ALT_LEFT, ModifierKey.OPTION, in testOfOnKeysForComplexCombination()
34 ModifierKeyCombination combination = ModifierKeyCombination.ofOnKeys(ImmutableSet.of( in testOfOnKeysForComplexCombinationWithVariant()
36 ImmutableSet<ModifierKey> onKeys = ImmutableSet.of(ModifierKey.SHIFT_RIGHT, in testOfOnKeysForComplexCombinationWithVariant()
39ImmutableSet<ModifierKey> offKeys = ImmutableSet.of(ModifierKey.CONTROL, ModifierKey.ALT_LEFT, in testOfOnKeysForComplexCombinationWithVariant()
[all …]
DModifierKeySimplifierTest.java9 import com.google.common.collect.ImmutableSet;
13 private static ImmutableSet<ModifierKey> EMPTY_SET = ImmutableSet.<ModifierKey> of();
18 ImmutableSet.of(ModifierKey.ALT_LEFT, ModifierKey.CAPSLOCK), in testSimplifyInputWithOverlappingSets()
19 ImmutableSet.of(ModifierKey.ALT_LEFT)); in testSimplifyInputWithOverlappingSets()
29 ImmutableSet<ModifierKey> offKeys = ImmutableSet.of(ModifierKey.CONTROL, ModifierKey.ALT, in testSimplifyInputWithBase()
35 ModifierKeyCombination combination = ModifierKeyCombination.ofOnKeys(ImmutableSet.of( in testSimplifyInputWithParentOn()
37 ImmutableSet<ModifierKey> onKeys = ImmutableSet.of(ModifierKey.ALT, ModifierKey.CAPSLOCK); in testSimplifyInputWithParentOn()
39 ImmutableSet<ModifierKey> offKeys = ImmutableSet.of(ModifierKey.CONTROL, ModifierKey.OPTION, in testSimplifyInputWithParentOn()
45 ModifierKeyCombination combination = ModifierKeyCombination.ofOnKeys(ImmutableSet.of( in testSimplifyInputWithChildOn()
47ImmutableSet<ModifierKey> onKeys = ImmutableSet.of(ModifierKey.OPTION_LEFT, ModifierKey.COMMAND); in testSimplifyInputWithChildOn()
[all …]
DKeyboardTest.java17 import com.google.common.collect.ImmutableSet;
27 …ModifierKeyCombination combination1 = ModifierKeyCombination.ofOnKeys(ImmutableSet.<ModifierKey> o… in createKeyboard()
28 …ModifierKeyCombinationSet combinationSet1 = ModifierKeyCombinationSet.of(ImmutableSet.of(combinati… in createKeyboard()
34 ImmutableSet.of(characterMap1, characterMap2, characterMap3)); in createKeyboard()
37 …ModifierKeyCombination combination2 = ModifierKeyCombination.ofOnKeys(ImmutableSet.of(ModifierKey.… in createKeyboard()
39 ImmutableSet.of(ModifierKey.OPTION, ModifierKey.SHIFT), in createKeyboard()
40 ImmutableSet.of(ModifierKey.CAPSLOCK)); in createKeyboard()
41 ModifierKeyCombinationSet combinationSet2 = ModifierKeyCombinationSet.of(ImmutableSet.of( in createKeyboard()
47 ImmutableSet.of(characterMap4, characterMap5, characterMap6)); in createKeyboard()
71 …ModifierKeyCombination combination1 = ModifierKeyCombination.ofOnKeys(ImmutableSet.<ModifierKey> o… in testKeyMaps()
[all …]
DKeyMapTest.java14 import com.google.common.collect.ImmutableSet;
22 ImmutableSet.of(ModifierKey.CONTROL), ImmutableSet.of(ModifierKey.OPTION_RIGHT)); in createKeyMap()
23 …ModifierKeyCombination combination2 = ModifierKeyCombination.ofOnKeys(ImmutableSet.of(ModifierKey.… in createKeyMap()
24 ModifierKeyCombinationSet combinationSet = ModifierKeyCombinationSet.of(ImmutableSet.of( in createKeyMap()
29 return KeyMap.of(combinationSet, ImmutableSet.of(characterMap1, characterMap2)); in createKeyMap()
36 ModifierKeyCombinationSet combinationSetTest = ModifierKeyCombinationSet.of(ImmutableSet.of( in testModifierKeyCombinationSet()
52 ImmutableSet.of(ModifierKey.CONTROL), ImmutableSet.of(ModifierKey.OPTION_RIGHT)); in testEqualsFalse()
53 …ModifierKeyCombinationSet combinationSet = ModifierKeyCombinationSet.of(ImmutableSet.of(combinatio… in testEqualsFalse()
57 … KeyMap keyMapTest = KeyMap.of(combinationSet, ImmutableSet.of(characterMap1, characterMap2)); in testEqualsFalse()
64 ImmutableSet.of(ModifierKey.CONTROL), ImmutableSet.of(ModifierKey.OPTION_RIGHT)); in testEqualsTrue()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSetTest.java22 import com.google.common.collect.ImmutableSet.Builder;
41 return ImmutableSet.of(); in of()
45 return ImmutableSet.of(e); in of()
49 return ImmutableSet.of(e1, e2); in of()
53 return ImmutableSet.of(e1, e2, e3); in of()
58 return ImmutableSet.of(e1, e2, e3, e4); in of()
63 return ImmutableSet.of(e1, e2, e3, e4, e5); in of()
68 return ImmutableSet.of(e1, e2, e3, e4, e5, e6, rest); in of()
72 return ImmutableSet.copyOf(elements); in copyOf()
76 return ImmutableSet.copyOf(elements); in copyOf()
[all …]
DSetsTest.java106 ImmutableSet<SomeEnum> none in testImmutableEnumSet_fromIterable()
110 ImmutableSet<SomeEnum> one in testImmutableEnumSet_fromIterable()
114 ImmutableSet<SomeEnum> two in testImmutableEnumSet_fromIterable()
138 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.B, SomeEnum.C); in testNewEnumSet_collection()
143 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.A, SomeEnum.B, SomeEnum.C); in testNewEnumSet_iterable()
481 ImmutableSet<Integer> elements = ImmutableSet.of(); in testPowerSetEmpty()
484 assertEquals(ImmutableSet.of(ImmutableSet.of()), powerSet); in testPowerSetEmpty()
489 ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3); in testPowerSetContents()
495 expected.add(ImmutableSet.<Integer>of()); in testPowerSetContents()
496 expected.add(ImmutableSet.of(1)); in testPowerSetContents()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSetTest.java23 import com.google.common.collect.ImmutableSet.Builder;
91 return ImmutableSet.of(); in of()
95 return ImmutableSet.of(e); in of()
99 return ImmutableSet.of(e1, e2); in of()
103 return ImmutableSet.of(e1, e2, e3); in of()
108 return ImmutableSet.of(e1, e2, e3, e4); in of()
113 return ImmutableSet.of(e1, e2, e3, e4, e5); in of()
118 return ImmutableSet.of(e1, e2, e3, e4, e5, e6, rest); in of()
122 return ImmutableSet.copyOf(elements); in copyOf()
126 return ImmutableSet.copyOf(elements); in copyOf()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DImmutableSetTest.cpp38 ImmutableSet<int>::Factory f; in TEST_F()
44 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
52 ImmutableSet<int>::Factory f; in TEST_F()
53 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
55 ImmutableSet<int> S2 = f.add(S, 3); in TEST_F()
65 ImmutableSet<int> S3 = f.add(S, 2); in TEST_F()
80 ImmutableSet<int>::Factory f; in TEST_F()
81 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
83 ImmutableSet<int> S2 = f.add(f.add(f.add(S, 3), 4), 5); in TEST_F()
84 ImmutableSet<int> S3 = f.add(f.add(f.add(S2, 9), 20), 43); in TEST_F()
[all …]
/external/llvm/unittests/ADT/
DImmutableSetTest.cpp38 ImmutableSet<int>::Factory f; in TEST_F()
44 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
52 ImmutableSet<int>::Factory f; in TEST_F()
53 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
55 ImmutableSet<int> S2 = f.add(S, 3); in TEST_F()
65 ImmutableSet<int> S3 = f.add(S, 2); in TEST_F()
80 ImmutableSet<int>::Factory f; in TEST_F()
81 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
83 ImmutableSet<int> S2 = f.add(f.add(f.add(S, 3), 4), 5); in TEST_F()
84 ImmutableSet<int> S3 = f.add(f.add(f.add(S2, 9), 20), 43); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ADT/
DImmutableSetTest.cpp38 ImmutableSet<int>::Factory f; in TEST_F()
44 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
52 ImmutableSet<int>::Factory f; in TEST_F()
53 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
55 ImmutableSet<int> S2 = f.add(S, 3); in TEST_F()
65 ImmutableSet<int> S3 = f.add(S, 2); in TEST_F()
80 ImmutableSet<int>::Factory f; in TEST_F()
81 ImmutableSet<int> S = f.getEmptySet(); in TEST_F()
83 ImmutableSet<int> S2 = f.add(f.add(f.add(S, 3), 4), 5); in TEST_F()
84 ImmutableSet<int> S3 = f.add(f.add(f.add(S2, 9), 20), 43); in TEST_F()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSet.java40 public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> { class
41 ImmutableSet() {} in ImmutableSet() method in ImmutableSet
45 public static <E> ImmutableSet<E> of() { in of()
46 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE; in of()
49 public static <E> ImmutableSet<E> of(E element) { in of()
54 public static <E> ImmutableSet<E> of(E e1, E e2) { in of()
59 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { in of()
64 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { in of()
69 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { in of()
74 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) { in of()
[all …]
DImmutableMap.java209 private transient ImmutableSet<Entry<K, V>> cachedEntrySet = null;
211 public final ImmutableSet<Entry<K, V>> entrySet() { in entrySet()
218 abstract ImmutableSet<Entry<K, V>> createEntrySet(); in createEntrySet()
220 private transient ImmutableSet<K> cachedKeySet = null;
222 public ImmutableSet<K> keySet() { in keySet()
229 ImmutableSet<K> createKeySet() { in createKeySet()
253 ImmutableMap<K, ImmutableSet<V>> map = viewValuesAsImmutableSet(); in createMultimapView()
257 private ImmutableMap<K, ImmutableSet<V>> viewValuesAsImmutableSet() { in viewValuesAsImmutableSet()
259 return new ImmutableMap<K, ImmutableSet<V>>() { in viewValuesAsImmutableSet()
266 public ImmutableSet<V> get(@Nullable Object key) { in viewValuesAsImmutableSet()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
DInternetDomainNameTest.java22 import com.google.common.collect.ImmutableSet;
57 private static final ImmutableSet<String> VALID_NAME = ImmutableSet.of(
75 private static final ImmutableSet<String> INVALID_NAME = ImmutableSet.of(
98 private static final ImmutableSet<String> PS = ImmutableSet.of(
111 private static final ImmutableSet<String> NO_PS = ImmutableSet.of(
114 private static final ImmutableSet<String> NON_PS = ImmutableSet.of(
120 private static final ImmutableSet<String> TOP_PRIVATE_DOMAIN =
121 ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.");
123 private static final ImmutableSet<String> UNDER_PRIVATE_DOMAIN =
124 ImmutableSet.of("foo.bar.google.com", "a.b.co.uk", "x.y.ca.us");
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableSet.java74 public abstract class ImmutableSet<E> extends ImmutableCollection<E> class
83 public static <E> ImmutableSet<E> of() { in of()
84 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE; in of()
93 public static <E> ImmutableSet<E> of(E element) { in of()
104 public static <E> ImmutableSet<E> of(E e1, E e2) { in of()
115 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { in of()
126 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { in of()
137 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { in of()
149 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, in of()
178 private static <E> ImmutableSet<E> construct(int n, Object... elements) { in construct()
[all …]
DImmutableMap.java384 private transient ImmutableSet<Entry<K, V>> entrySet;
391 public ImmutableSet<Entry<K, V>> entrySet() { in entrySet()
392 ImmutableSet<Entry<K, V>> result = entrySet; in entrySet()
396 abstract ImmutableSet<Entry<K, V>> createEntrySet(); in createEntrySet()
398 private transient ImmutableSet<K> keySet;
405 public ImmutableSet<K> keySet() { in keySet()
406 ImmutableSet<K> result = keySet; in keySet()
410 ImmutableSet<K> createKeySet() { in createKeySet()
441 ImmutableMap<K, ImmutableSet<V>> map = viewMapValuesAsSingletonSets(); in createMultimapView()
445 private ImmutableMap<K, ImmutableSet<V>> viewMapValuesAsSingletonSets() { in viewMapValuesAsSingletonSets()
[all …]
/external/guava/guava-tests/test/com/google/common/net/
DInternetDomainNameTest.java23 import com.google.common.collect.ImmutableSet;
59 private static final ImmutableSet<String> VALID_NAME = ImmutableSet.of(
77 private static final ImmutableSet<String> INVALID_NAME = ImmutableSet.of(
100 private static final ImmutableSet<String> PS = ImmutableSet.of(
113 private static final ImmutableSet<String> NO_PS = ImmutableSet.of(
116 private static final ImmutableSet<String> NON_PS = ImmutableSet.of(
122 private static final ImmutableSet<String> TOP_PRIVATE_DOMAIN =
123 ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.");
125 private static final ImmutableSet<String> UNDER_PRIVATE_DOMAIN =
126 ImmutableSet.of("foo.bar.google.com", "a.b.co.uk", "x.y.ca.us");
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeyCombination.java10 import com.google.common.collect.ImmutableSet;
59 ImmutableSet.<ModifierKey> of());
61 private final ImmutableSet<ModifierKey> onKeys;
62 private final ImmutableSet<ModifierKey> offKeys;
64 …private ModifierKeyCombination(ImmutableSet<ModifierKey> onKeys, ImmutableSet<ModifierKey> offKeys… in ModifierKeyCombination()
75 return ofOnAndDontCareKeys(ImmutableSet.copyOf(onKeys), ImmutableSet.<ModifierKey> of()); in ofOnKeys()
87 return ModifierKeySimplifier.simplifyInput(ImmutableSet.copyOf(onKeys), in ofOnAndDontCareKeys()
88 ImmutableSet.copyOf(dontCareKeys)); in ofOnAndDontCareKeys()
92 static ModifierKeyCombination of(ImmutableSet<ModifierKey> onKeys, in of()
93 ImmutableSet<ModifierKey> offKeys) { in of()
[all …]
/external/cldr/tools/java/org/unicode/cldr/json/
DLdmlConvertRules.java11 import com.google.common.collect.ImmutableSet;
16 …public static final ImmutableSet<String> IGNORE_FILE_SET = ImmutableSet.of("attributeValueValidity…
25 static final ImmutableSet<String> NAME_PART_DISTINGUISHING_ATTR_SET = ImmutableSet.of(
74 static final ImmutableSet<String> ATTR_AS_VALUE_SET = ImmutableSet.of(
150 static final ImmutableSet<String> COMPACTABLE_ATTR_AS_VALUE_SET = ImmutableSet.of(
205 …public static final ImmutableSet<String> IGNORABLE_NONDISTINGUISHING_ATTR_SET = ImmutableSet.of("d…
/external/guava/guava-tests/test/com/google/common/math/
DMathTesting.java34 import com.google.common.collect.ImmutableSet;
48 static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES = ImmutableSet.copyOf(RoundingMode
101 static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
110 ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
138 static final ImmutableSet<Long> POSITIVE_LONG_CANDIDATES;
147 ImmutableSet.Builder<Long> longValues = ImmutableSet.builder();
172 static final ImmutableSet<BigInteger> POSITIVE_BIGINTEGER_CANDIDATES;
181 ImmutableSet.Builder<BigInteger> bigValues = ImmutableSet.builder();
204 static final ImmutableSet<Double> INTEGRAL_DOUBLE_CANDIDATES;
205 static final ImmutableSet<Double> FRACTIONAL_DOUBLE_CANDIDATES;
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DExperimentingRunnerModuleTest.java30 import com.google.common.collect.ImmutableSet;
62 when(options.benchmarkMethodNames()).thenReturn(ImmutableSet.<String>of()); in provideInstrumentations_noNames()
64 new ImmutableSet.Builder<Instrumentation>() in provideInstrumentations_noNames()
74 ImmutableSet.of(instrumentA, instrumentB))); in provideInstrumentations_noNames()
79 when(options.benchmarkMethodNames()).thenReturn(ImmutableSet.of("b"), in provideInstrumentations_withNames()
80 ImmutableSet.of("a", "c")); in provideInstrumentations_withNames()
82 new ImmutableSet.Builder<Instrumentation>() in provideInstrumentations_withNames()
88 ImmutableSet.of(instrumentA, instrumentB))); in provideInstrumentations_withNames()
90 new ImmutableSet.Builder<Instrumentation>() in provideInstrumentations_withNames()
98 ImmutableSet.of(instrumentA, instrumentB))); in provideInstrumentations_withNames()
[all …]
/external/turbine/java/com/google/turbine/options/
DTurbineOptions.java22 import com.google.common.collect.ImmutableSet;
31 private final ImmutableSet<String> bootClassPath;
36 private final ImmutableSet<String> processors;
39 private final ImmutableSet<String> directJars;
51 ImmutableSet<String> bootClassPath, in TurbineOptions()
56 ImmutableSet<String> processors, in TurbineOptions()
59 ImmutableSet<String> directJars, in TurbineOptions()
98 public ImmutableSet<String> bootClassPath() { in bootClassPath()
135 public ImmutableSet<String> processors() { in processors()
150 public ImmutableSet<String> directJars() { in directJars()
[all …]
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java28 import com.google.common.collect.ImmutableSet;
74 private final ImmutableSet<ResourceInfo> resources;
76 private ClassPath(ImmutableSet<ResourceInfo> resources) { in ClassPath()
101 public ImmutableSet<ResourceInfo> getResources() { in getResources()
110 public ImmutableSet<ClassInfo> getAllClasses() { in getAllClasses()
115 public ImmutableSet<ClassInfo> getTopLevelClasses() { in getTopLevelClasses()
120 public ImmutableSet<ClassInfo> getTopLevelClasses(String packageName) { in getTopLevelClasses()
122 ImmutableSet.Builder<ClassInfo> builder = ImmutableSet.builder(); in getTopLevelClasses()
135 public ImmutableSet<ClassInfo> getTopLevelClassesRecursive(String packageName) { in getTopLevelClassesRecursive()
138 ImmutableSet.Builder<ClassInfo> builder = ImmutableSet.builder(); in getTopLevelClassesRecursive()
[all …]
/external/dagger2/producers/src/test/java/dagger/producers/internal/
DSetOfProducedProducerTest.java18 import com.google.common.collect.ImmutableSet;
42 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(1, 2)), in success()
43 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(5, 7))); in success()
57 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(1, 2)), in failure()
80 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(7, 3))); in oneOfDelegateSetNpe()
113 final ImmutableSet<T> successes;
114 final ImmutableSet<ExecutionException> failures;
116 private Results(ImmutableSet<T> successes, ImmutableSet<ExecutionException> failures) { in Results()
122 ImmutableSet.Builder<T> successes = ImmutableSet.builder(); in create()
123 ImmutableSet.Builder<ExecutionException> failures = ImmutableSet.builder(); in create()

12345678910>>...21