Home
last modified time | relevance | path

Searched refs:absent (Results 1 – 25 of 261) sorted by relevance

1234567891011

/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java42 Optional<String> optionalName = Optional.absent(); in testAbsent()
65 assertSame(Optional.absent(), Optional.fromNullable(null)); in testFromNullable_null()
69 assertFalse(Optional.absent().isPresent()); in testIsPresent_no()
77 Optional<String> optional = Optional.absent(); in testGet_absent()
94 assertEquals("default", Optional.absent().or("default")); in testOr_T_absent()
102 assertEquals("fallback", Optional.absent().or(Suppliers.ofInstance("fallback"))); in testOr_supplier_absent()
107 Optional<Object> absentOptional = Optional.absent(); in testOr_nullSupplier_absent()
125 assertEquals(Optional.of("fallback"), Optional.absent().or(Optional.of("fallback"))); in testOr_Optional_absent()
133 assertNull(Optional.absent().orNull()); in testOrNull_absent()
142 assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty()); in testAsSet_absent()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DOptionalTest.java39 Optional<String> optionalName = Optional.absent(); in testAbsent()
62 assertSame(Optional.absent(), Optional.fromNullable(null)); in testFromNullable_null()
66 assertFalse(Optional.absent().isPresent()); in testIsPresent_no()
74 Optional<String> optional = Optional.absent(); in testGet_absent()
91 assertEquals("default", Optional.absent().or("default")); in testOr_T_absent()
99 assertEquals("fallback", Optional.absent().or(Suppliers.ofInstance("fallback"))); in testOr_supplier_absent()
104 Optional<Object> absentOptional = Optional.absent(); in testOr_nullSupplier_absent()
122 assertEquals(Optional.of("fallback"), Optional.absent().or(Optional.of("fallback"))); in testOr_Optional_absent()
130 assertNull(Optional.absent().orNull()); in testOrNull_absent()
139 assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty()); in testAsSet_absent()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
DAbstractMultisetSetCountTester.java132 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
140 @CollectionSize.Require(absent = ZERO)
146 @CollectionSize.Require(absent = ZERO)
152 @CollectionSize.Require(absent = ZERO)
153 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
174 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
220 @CollectionSize.Require(absent = ZERO)
226 @CollectionFeature.Require(absent = SUPPORTS_ADD)
231 @CollectionFeature.Require(absent = SUPPORTS_ADD)
236 @CollectionSize.Require(absent = ZERO)
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DAbstractMultisetSetCountTester.java137 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
145 @CollectionSize.Require(absent = ZERO)
151 @CollectionSize.Require(absent = ZERO)
157 @CollectionSize.Require(absent = ZERO)
158 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
179 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
225 @CollectionSize.Require(absent = ZERO)
231 @CollectionFeature.Require(absent = SUPPORTS_ADD)
236 @CollectionFeature.Require(absent = SUPPORTS_ADD)
241 @CollectionSize.Require(absent = ZERO)
[all …]
DBiMapRemoveTester.java39 @CollectionSize.Require(absent = ZERO)
47 @CollectionSize.Require(absent = ZERO)
55 @CollectionSize.Require(absent = ZERO)
63 @CollectionSize.Require(absent = ZERO)
71 @CollectionSize.Require(absent = ZERO)
79 @CollectionSize.Require(absent = ZERO)
86 @CollectionSize.Require(absent = ZERO)
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionRetainAllTester.java113 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
121 @CollectionSize.Require(absent = ZERO)
128 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
129 @CollectionSize.Require(absent = ZERO)
144 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
152 @CollectionSize.Require(absent = ZERO)
159 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
160 @CollectionSize.Require(absent = ZERO)
174 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
183 @CollectionSize.Require(absent = {ZERO, ONE})
[all …]
DMapCreationTester.java48 @CollectionSize.Require(absent = ZERO)
54 @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
55 @CollectionSize.Require(absent = ZERO)
65 @CollectionSize.Require(absent = ZERO)
71 @MapFeature.Require(absent = ALLOWS_NULL_VALUES)
72 @CollectionSize.Require(absent = ZERO)
82 @CollectionSize.Require(absent = ZERO)
91 absent = REJECTS_DUPLICATES_AT_CREATION)
92 @CollectionSize.Require(absent = {ZERO, ONE})
97 @MapFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
[all …]
DMapPutTester.java69 @CollectionSize.Require(absent = ZERO)
82 @CollectionSize.Require(absent = ZERO)
95 @CollectionSize.Require(absent = ZERO)
107 @MapFeature.Require(absent = SUPPORTS_PUT)
118 @MapFeature.Require(absent = SUPPORTS_PUT)
119 @CollectionSize.Require(absent = ZERO)
129 @MapFeature.Require(absent = SUPPORTS_PUT)
130 @CollectionSize.Require(absent = ZERO)
147 @CollectionSize.Require(absent = ZERO)
159 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
[all …]
DListAddAllAtIndexTester.java44 @CollectionSize.Require(absent = ZERO)
51 @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
52 @CollectionSize.Require(absent = ZERO)
63 @CollectionSize.Require(absent = ZERO)
70 @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
71 @CollectionSize.Require(absent = ZERO)
89 @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
122 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
136 @CollectionSize.Require(absent = {ZERO, ONE})
144 @CollectionSize.Require(absent = ZERO)
DCollectionAddAllTester.java57 @CollectionFeature.Require(absent = SUPPORTS_ADD)
74 @CollectionFeature.Require(absent = SUPPORTS_ADD)
86 @CollectionSize.Require(absent = ZERO)
94 @CollectionFeature.Require(absent = SUPPORTS_ADD)
95 @CollectionSize.Require(absent = ZERO)
107 @CollectionSize.Require(absent = ZERO)
119 @CollectionFeature.Require(absent = SUPPORTS_ADD)
120 @CollectionSize.Require(absent = ZERO)
131 ALLOWS_NULL_VALUES}, absent = RESTRICTS_ELEMENTS)
144 absent = ALLOWS_NULL_VALUES)
DCollectionRemoveAllTester.java63 @CollectionSize.Require(absent = ZERO)
71 @CollectionSize.Require(absent = ZERO)
96 @CollectionSize.Require(absent = ZERO)
105 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
116 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
127 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
128 @CollectionSize.Require(absent = ZERO)
158 @CollectionSize.Require(absent = ZERO)
168 absent = ALLOWS_NULL_QUERIES)
188 @CollectionSize.Require(absent = ZERO)
DListSetTester.java42 @CollectionSize.Require(absent = ZERO)
47 @CollectionSize.Require(absent = ZERO)
54 @CollectionSize.Require(absent = ZERO)
98 @CollectionSize.Require(absent = ZERO)
99 @ListFeature.Require(absent = SUPPORTS_SET)
110 @ListFeature.Require(absent = SUPPORTS_SET)
122 @CollectionSize.Require(absent = ZERO)
124 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
DMapPutAllTester.java69 @MapFeature.Require(absent = SUPPORTS_PUT)
84 @MapFeature.Require(absent = SUPPORTS_PUT)
96 @CollectionSize.Require(absent = ZERO)
104 @CollectionSize.Require(absent = ZERO)
116 @MapFeature.Require(absent = SUPPORTS_PUT)
117 @CollectionSize.Require(absent = ZERO)
127 @MapFeature.Require(absent = SUPPORTS_PUT)
128 @CollectionSize.Require(absent = ZERO)
145 absent = ALLOWS_NULL_KEYS)
166 absent = ALLOWS_NULL_VALUES)
DListSubListTester.java94 @CollectionSize.Require(absent = ZERO)
104 @CollectionSize.Require(absent = ZERO)
121 @CollectionSize.Require(absent = ZERO)
131 @CollectionSize.Require(absent = ZERO)
141 @CollectionSize.Require(absent = {ZERO, ONE})
151 @CollectionSize.Require(absent = {ZERO, ONE})
159 @CollectionSize.Require(absent = {ZERO, ONE})
169 @CollectionSize.Require(absent = {ZERO, ONE})
184 @CollectionSize.Require(absent = {ZERO, ONE})
192 @CollectionSize.Require(absent = {ZERO})
[all …]
DCollectionRemoveTester.java46 @CollectionSize.Require(absent = ZERO)
78 @CollectionSize.Require(absent = ZERO)
89 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
90 @CollectionSize.Require(absent = ZERO)
102 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
116 absent = ALLOWS_NULL_QUERIES)
133 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
134 @CollectionSize.Require(absent = ZERO)
DSetCreationTester.java41 absent = REJECTS_DUPLICATES_AT_CREATION)
42 @CollectionSize.Require(absent = {ZERO, ONE})
53 @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
54 @CollectionSize.Require(absent = {ZERO, ONE})
67 @CollectionSize.Require(absent = {ZERO, ONE})
79 @CollectionSize.Require(absent = {ZERO, ONE})
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DMapCreationTester.java45 @CollectionSize.Require(absent = ZERO)
51 @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
52 @CollectionSize.Require(absent = ZERO)
62 @CollectionSize.Require(absent = ZERO)
68 @MapFeature.Require(absent = ALLOWS_NULL_VALUES)
69 @CollectionSize.Require(absent = ZERO)
79 @CollectionSize.Require(absent = ZERO)
88 absent = REJECTS_DUPLICATES_AT_CREATION)
89 @CollectionSize.Require(absent = {ZERO, ONE})
94 @MapFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
[all …]
DMapPutTester.java66 @CollectionSize.Require(absent = ZERO)
79 @CollectionSize.Require(absent = ZERO)
92 @CollectionSize.Require(absent = ZERO)
104 @MapFeature.Require(absent = SUPPORTS_PUT)
115 @MapFeature.Require(absent = SUPPORTS_PUT)
116 @CollectionSize.Require(absent = ZERO)
126 @MapFeature.Require(absent = SUPPORTS_PUT)
127 @CollectionSize.Require(absent = ZERO)
144 @CollectionSize.Require(absent = ZERO)
156 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
[all …]
DCollectionAddAllTester.java54 @CollectionFeature.Require(absent = SUPPORTS_ADD)
71 @CollectionFeature.Require(absent = SUPPORTS_ADD)
83 @CollectionSize.Require(absent = ZERO)
91 @CollectionFeature.Require(absent = SUPPORTS_ADD)
92 @CollectionSize.Require(absent = ZERO)
104 @CollectionSize.Require(absent = ZERO)
116 @CollectionFeature.Require(absent = SUPPORTS_ADD)
117 @CollectionSize.Require(absent = ZERO)
128 ALLOWS_NULL_VALUES}, absent = RESTRICTS_ELEMENTS)
141 absent = ALLOWS_NULL_VALUES)
DListSetTester.java38 @CollectionSize.Require(absent = ZERO)
43 @CollectionSize.Require(absent = ZERO)
50 @CollectionSize.Require(absent = ZERO)
94 @CollectionSize.Require(absent = ZERO)
95 @ListFeature.Require(absent = SUPPORTS_SET)
106 @ListFeature.Require(absent = SUPPORTS_SET)
118 @CollectionSize.Require(absent = ZERO)
120 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
DMapPutAllTester.java66 @MapFeature.Require(absent = SUPPORTS_PUT)
81 @MapFeature.Require(absent = SUPPORTS_PUT)
93 @CollectionSize.Require(absent = ZERO)
101 @CollectionSize.Require(absent = ZERO)
113 @MapFeature.Require(absent = SUPPORTS_PUT)
114 @CollectionSize.Require(absent = ZERO)
124 @MapFeature.Require(absent = SUPPORTS_PUT)
125 @CollectionSize.Require(absent = ZERO)
142 absent = ALLOWS_NULL_KEYS)
163 absent = ALLOWS_NULL_VALUES)
DListSubListTester.java90 @CollectionSize.Require(absent = ZERO)
100 @CollectionSize.Require(absent = ZERO)
117 @CollectionSize.Require(absent = ZERO)
127 @CollectionSize.Require(absent = ZERO)
137 @CollectionSize.Require(absent = {ZERO, ONE})
147 @CollectionSize.Require(absent = {ZERO, ONE})
155 @CollectionSize.Require(absent = {ZERO, ONE})
165 @CollectionSize.Require(absent = {ZERO, ONE})
180 @CollectionSize.Require(absent = {ZERO, ONE})
188 @CollectionSize.Require(absent = {ZERO})
[all …]
DCollectionAddTester.java51 @CollectionFeature.Require(absent = SUPPORTS_ADD)
62 @CollectionFeature.Require(absent = SUPPORTS_ADD)
63 @CollectionSize.Require(absent = ZERO)
75 absent = RESTRICTS_ELEMENTS)
82 absent = ALLOWS_NULL_VALUES)
96 @CollectionSize.Require(absent = ZERO)
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvisionBinding.java84 Optional.<TypeMirror>absent()); in unresolve()
132 Optional.<DeclaredType>absent(), in forInjectConstructor()
133 Optional.<TypeElement>absent(), in forInjectConstructor()
155 return Optional.absent(); in membersInjectionRequest()
182 Optional.<DependencyRequest>absent(), in forProvidesMethod()
205 Optional.<DeclaredType>absent(), in implicitMapOfProviderBinding()
206 Optional.<TypeElement>absent(), in implicitMapOfProviderBinding()
207 Optional.<DependencyRequest>absent(), in implicitMapOfProviderBinding()
219 Optional.<String>absent(), in forComponent()
221 Optional.<DeclaredType>absent(), in forComponent()
[all …]
DProductionBinding.java135 Optional.<DependencyRequest>absent(), in forProducesMethod()
157 Optional.<DeclaredType>absent(), in implicitMapOfProducerBinding()
158 Optional.<TypeElement>absent(), in implicitMapOfProducerBinding()
159 Optional.<DependencyRequest>absent(), in implicitMapOfProducerBinding()
163 Optional.<DependencyRequest>absent()); in implicitMapOfProducerBinding()
175 Optional.<String>absent(), in forComponentMethod()
177 Optional.<DeclaredType>absent(), in forComponentMethod()
178 Optional.<TypeElement>absent(), in forComponentMethod()
179 Optional.<DependencyRequest>absent(), in forComponentMethod()
183 Optional.<DependencyRequest>absent()); in forComponentMethod()

1234567891011