- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for getNullLocation (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
@MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testCreateWithNullKeyAndValueSupported() { Entry<K, V>[] entries = createSamplesArray(); entries[getNullLocation()] = entry(null, null); resetMap(entries); expectContents(entries); } @MapFeature.Require(value = ALLOWS_NULL_KEYS, absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE})
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
} /** * @return a suitable location for a null element, to use when initializing containers for tests * that involve a null element being present. */ protected int getNullLocation() { return getNumElements() / 2; } protected MinimalCollection<E> createDisjointCollection() { return MinimalCollection.of(e3(), e4()); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 8.9K bytes - Viewed (0)