Searched refs:absent (Results 1 – 25 of 106) sorted by relevance
12345
/external/guava/guava-tests/test/com/google/common/base/ |
D | OptionalTest.java | 41 Optional<String> optionalName = Optional.absent(); in testAbsent() 64 assertSame(Optional.absent(), Optional.fromNullable(null)); in testFromNullable_null() 68 assertFalse(Optional.absent().isPresent()); in testIsPresent_no() 76 Optional<String> optional = Optional.absent(); in testGet_absent() 93 assertEquals("default", Optional.absent().or("default")); in testOr_T_absent() 101 assertEquals("fallback", Optional.absent().or(Suppliers.ofInstance("fallback"))); in testOr_Supplier_absent() 106 Optional<Object> absentOptional = Optional.absent(); in testOr_NullSupplier_absent() 119 assertEquals(Optional.of("fallback"), Optional.absent().or(Optional.of("fallback"))); in testOr_Optional_absent() 127 assertNull(Optional.absent().orNull()); in testOrNull_absent() 136 assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty()); in testAsSet_absent() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | AbstractMultisetSetCountTester.java | 131 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE}) 139 @CollectionSize.Require(absent = ZERO) 145 @CollectionSize.Require(absent = ZERO) 151 @CollectionSize.Require(absent = ZERO) 152 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE}) 173 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE}) 193 @CollectionSize.Require(absent = ZERO) 199 @CollectionFeature.Require(absent = SUPPORTS_ADD) 204 @CollectionFeature.Require(absent = SUPPORTS_ADD) 209 @CollectionSize.Require(absent = ZERO) [all …]
|
D | MultisetWritesTester.java | 65 @CollectionFeature.Require(absent = SUPPORTS_ADD) 73 @CollectionSize.Require(absent = ZERO) 88 @CollectionFeature.Require(absent = SUPPORTS_REMOVE) 145 @CollectionSize.Require(absent = ZERO) 146 @CollectionFeature.Require(absent = SUPPORTS_REMOVE) 158 @CollectionSize.Require(absent = ZERO) 170 @CollectionSize.Require(absent = ZERO) 182 @CollectionSize.Require(absent = ZERO) 194 @CollectionSize.Require(absent = ZERO)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapCreationTester.java | 45 @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 …]
|
D | CollectionRetainAllTester.java | 113 @CollectionFeature.Require(absent = SUPPORTS_RETAIN_ALL) 121 @CollectionSize.Require(absent = ZERO) 128 @CollectionFeature.Require(absent = SUPPORTS_RETAIN_ALL) 129 @CollectionSize.Require(absent = ZERO) 144 @CollectionFeature.Require(absent = SUPPORTS_RETAIN_ALL) 152 @CollectionSize.Require(absent = ZERO) 159 @CollectionFeature.Require(absent = SUPPORTS_RETAIN_ALL) 160 @CollectionSize.Require(absent = ZERO) 174 @CollectionFeature.Require(absent = SUPPORTS_RETAIN_ALL) 183 @CollectionSize.Require(absent = {ZERO, ONE}) [all …]
|
D | MapPutTester.java | 62 @MapFeature.Require(absent = SUPPORTS_PUT) 73 @MapFeature.Require(absent = SUPPORTS_PUT) 74 @CollectionSize.Require(absent = ZERO) 84 @MapFeature.Require(absent = SUPPORTS_PUT) 85 @CollectionSize.Require(absent = ZERO) 102 @CollectionSize.Require(absent = ZERO) 114 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS) 132 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) 145 @CollectionSize.Require(absent = ZERO) 152 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) [all …]
|
D | CollectionRemoveAllTester.java | 59 @CollectionSize.Require(absent = ZERO) 67 @CollectionSize.Require(absent = ZERO) 78 @CollectionSize.Require(absent = ZERO) 87 @CollectionFeature.Require(absent = SUPPORTS_REMOVE_ALL) 98 @CollectionFeature.Require(absent = SUPPORTS_REMOVE_ALL) 109 @CollectionFeature.Require(absent = SUPPORTS_REMOVE_ALL) 110 @CollectionSize.Require(absent = ZERO) 140 @CollectionSize.Require(absent = ZERO) 150 absent = ALLOWS_NULL_QUERIES) 170 @CollectionSize.Require(absent = ZERO)
|
D | CollectionAddAllTester.java | 52 @CollectionFeature.Require(absent = SUPPORTS_ADD_ALL) 69 @CollectionFeature.Require(absent = SUPPORTS_ADD_ALL) 81 @CollectionSize.Require(absent = ZERO) 89 @CollectionFeature.Require(absent = SUPPORTS_ADD_ALL) 90 @CollectionSize.Require(absent = ZERO) 100 @CollectionFeature.Require(absent = SUPPORTS_ADD_ALL) 101 @CollectionSize.Require(absent = ZERO) 112 ALLOWS_NULL_VALUES}, absent = RESTRICTS_ELEMENTS) 125 absent = ALLOWS_NULL_VALUES)
|
D | ListAddAllAtIndexTester.java | 45 @CollectionSize.Require(absent = ZERO) 52 @ListFeature.Require(absent = SUPPORTS_ADD_ALL_WITH_INDEX) 53 @CollectionSize.Require(absent = ZERO) 64 @CollectionSize.Require(absent = ZERO) 71 @ListFeature.Require(absent = SUPPORTS_ADD_ALL_WITH_INDEX) 72 @CollectionSize.Require(absent = ZERO) 90 @ListFeature.Require(absent = SUPPORTS_ADD_ALL_WITH_INDEX) 123 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) 137 @CollectionSize.Require(absent = {ZERO, ONE}) 145 @CollectionSize.Require(absent = ZERO)
|
D | ListSetTester.java | 40 @CollectionSize.Require(absent = ZERO) 45 @CollectionSize.Require(absent = ZERO) 52 @CollectionSize.Require(absent = ZERO) 96 @CollectionSize.Require(absent = ZERO) 97 @ListFeature.Require(absent = SUPPORTS_SET) 108 @ListFeature.Require(absent = SUPPORTS_SET) 120 @CollectionSize.Require(absent = ZERO) 122 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
|
D | MapPutAllTester.java | 63 @MapFeature.Require(absent = SUPPORTS_PUT_ALL) 78 @MapFeature.Require(absent = SUPPORTS_PUT_ALL) 90 @CollectionSize.Require(absent = ZERO) 96 @MapFeature.Require(absent = SUPPORTS_PUT_ALL) 97 @CollectionSize.Require(absent = ZERO) 107 @MapFeature.Require(absent = SUPPORTS_PUT_ALL) 108 @CollectionSize.Require(absent = ZERO) 125 absent = ALLOWS_NULL_KEYS) 146 absent = ALLOWS_NULL_VALUES)
|
D | CollectionRemoveTester.java | 43 @CollectionSize.Require(absent = ZERO) 61 @CollectionSize.Require(absent = ZERO) 72 @CollectionFeature.Require(absent = SUPPORTS_REMOVE) 73 @CollectionSize.Require(absent = ZERO) 85 @CollectionFeature.Require(absent = SUPPORTS_REMOVE) 99 absent = ALLOWS_NULL_QUERIES) 116 @CollectionFeature.Require(absent = SUPPORTS_REMOVE) 117 @CollectionSize.Require(absent = ZERO)
|
D | SetCreationTester.java | 41 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})
|
D | ListAddAtIndexTester.java | 42 @CollectionSize.Require(absent = ZERO) 48 @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) 49 @CollectionSize.Require(absent = ZERO) 69 @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) 81 @CollectionSize.Require(absent = {ZERO, ONE}) 88 @CollectionSize.Require(absent = ZERO) 102 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
|
D | ListSubListTester.java | 89 @CollectionSize.Require(absent = ZERO) 106 @CollectionSize.Require(absent = ZERO) 116 @CollectionSize.Require(absent = ZERO) 126 @CollectionSize.Require(absent = {ZERO, ONE}) 136 @CollectionSize.Require(absent = {ZERO, ONE}) 144 @CollectionSize.Require(absent = {ZERO, ONE}) 154 @CollectionSize.Require(absent = {ZERO, ONE}) 169 @CollectionSize.Require(absent = {ZERO, ONE}) 177 @CollectionSize.Require(absent = {ZERO}) 193 @CollectionSize.Require(absent = {ZERO}) [all …]
|
D | MapRemoveTester.java | 42 @CollectionSize.Require(absent = ZERO) 60 @CollectionSize.Require(absent = ZERO) 72 @MapFeature.Require(absent = SUPPORTS_REMOVE) 73 @CollectionSize.Require(absent = ZERO) 85 @MapFeature.Require(absent = SUPPORTS_REMOVE) 99 absent = ALLOWS_NULL_QUERIES)
|
D | ListRemoveAtIndexTester.java | 39 @ListFeature.Require(absent = SUPPORTS_REMOVE_WITH_INDEX) 40 @CollectionSize.Require(absent = ZERO) 71 @CollectionSize.Require(absent = ZERO) 77 @CollectionSize.Require(absent = {ZERO, ONE}) 83 @CollectionSize.Require(absent = ZERO)
|
D | CollectionAddTester.java | 49 @CollectionFeature.Require(absent = SUPPORTS_ADD) 60 @CollectionFeature.Require(absent = SUPPORTS_ADD) 61 @CollectionSize.Require(absent = ZERO) 73 absent = RESTRICTS_ELEMENTS) 80 absent = ALLOWS_NULL_VALUES)
|
D | MapEqualsTester.java | 47 @CollectionSize.Require(absent = CollectionSize.ZERO) 58 @CollectionSize.Require(absent = CollectionSize.ZERO) 70 @CollectionSize.Require(absent = CollectionSize.ZERO) 82 @CollectionSize.Require(absent = CollectionSize.ZERO) 94 @CollectionSize.Require(absent = CollectionSize.ZERO) 106 @CollectionSize.Require(absent = CollectionSize.ZERO)
|
D | AbstractListIndexOfTester.java | 45 @CollectionSize.Require(absent = ZERO) 62 @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) 73 @CollectionSize.Require(absent = ZERO) 81 @CollectionSize.Require(absent = ZERO)
|
D | MapContainsValueTester.java | 38 @CollectionSize.Require(absent = ZERO) 55 @MapFeature.Require(absent = ALLOWS_NULL_QUERIES) 62 @CollectionSize.Require(absent = ZERO) 70 @CollectionSize.Require(absent = ZERO)
|
D | CollectionContainsTester.java | 39 @CollectionSize.Require(absent = ZERO) 56 @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) 63 @CollectionSize.Require(absent = ZERO) 71 @CollectionSize.Require(absent = ZERO)
|
D | ListAddTester.java | 42 @CollectionSize.Require(absent = ZERO) 48 @CollectionFeature.Require(absent = SUPPORTS_ADD) 49 @CollectionSize.Require(absent = ZERO) 63 @CollectionSize.Require(absent = ZERO)
|
D | MapContainsKeyTester.java | 38 @CollectionSize.Require(absent = ZERO) 55 @MapFeature.Require(absent = ALLOWS_NULL_QUERIES) 62 @CollectionSize.Require(absent = ZERO) 70 @CollectionSize.Require(absent = ZERO)
|
D | MapGetTester.java | 40 @CollectionSize.Require(absent = ZERO) 55 @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) 64 @CollectionSize.Require(absent = ZERO) 71 @CollectionSize.Require(absent = ZERO)
|
12345