- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 285 for ABSENT (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
} @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutAllRejectsNullValue() { Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), null)); assertThrows(NullPointerException.class, () -> multimap().putAll(source)); expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS) public void testPutAllRejectsNullKey() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
} @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutAllRejectsNullValue() { Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), null)); assertThrows(NullPointerException.class, () -> multimap().putAll(source)); expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS) public void testPutAllRejectsNullKey() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetContainsTester<E> extends AbstractMultisetTester<E> { @CollectionSize.Require(absent = ZERO) public void testContainsAllMultisetIgnoresFrequency() { assertTrue(getMultiset().containsAll(getSubjectGenerator().create(e0(), e0(), e0()))); } @CollectionSize.Require(absent = ZERO) public void testContainsAllListIgnoresFrequency() { assertTrue(getMultiset().containsAll(asList(e0(), e0(), e0())));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetContainsTester<E> extends AbstractMultisetTester<E> { @CollectionSize.Require(absent = ZERO) public void testContainsAllMultisetIgnoresFrequency() { assertTrue(getMultiset().containsAll(getSubjectGenerator().create(e0(), e0(), e0()))); } @CollectionSize.Require(absent = ZERO) public void testContainsAllListIgnoresFrequency() { assertTrue(getMultiset().containsAll(asList(e0(), e0(), e0())));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
} @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { public abstract MultisetFeature[] value() default {}; public abstract MultisetFeature[] absent() default {}; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
// To avoid a self retain cycle under j2objc, we store Optional.absent() instead of // Optional.of(this). To access the delegate iterable, call #getDelegate(), which converts to // absent() back to 'this'. private final Optional<Iterable<E>> iterableDelegate; /** Constructor for use by subclasses. */ protected FluentIterable() { this.iterableDelegate = Optional.absent(); } FluentIterable(Iterable<E> iterable) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListCreationTester<E> extends AbstractListTester<E> { @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* * - Define putIfAbsent and replace as treating zero and absent identically (as currently * implemented below). This is a bit surprising with putIfAbsent, which really becomes * putIfZero. * * - Allow putIfAbsent and replace to distinguish between zero and absent, but don't implement * remove(K, long). Without any two-phase operations it becomes feasible for all remaining
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
public void testAsMapGetNullKeyAbsent() { assertNull(multimap().asMap().get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testAsMapGetNullKeyUnsupported() { assertThrows(NullPointerException.class, () -> multimap().asMap().get(null)); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemove() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java
public void testToArray_noArg() { Object[] actual = getList().toArray(); assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); } @CollectionSize.Require(absent = ZERO) public void testToArray_tooSmall() { Object[] actual = getList().toArray(new Object[0]); assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.2K bytes - Viewed (0)