- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for supportsRemove (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* supportsRemove}. */ protected MapInterfaceTest( boolean allowsNullKeys, boolean allowsNullValues, boolean supportsPut, boolean supportsRemove, boolean supportsClear) { this( allowsNullKeys, allowsNullValues, supportsPut, supportsRemove, supportsClear, supportsRemove);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
} } protected boolean supportsRemove() { return true; } protected boolean supportsNullValues() { return false; } public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
} } protected boolean supportsRemove() { return true; } protected boolean supportsNullValues() { return false; } public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
protected SortedMapInterfaceTest( boolean allowsNullKeys, boolean allowsNullValues, boolean supportsPut, boolean supportsRemove, boolean supportsClear) { super(allowsNullKeys, allowsNullValues, supportsPut, supportsRemove, supportsClear); } @Override protected abstract SortedMap<K, V> makeEmptyMap() throws UnsupportedOperationException; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
protected SortedMapInterfaceTest( boolean allowsNullKeys, boolean allowsNullValues, boolean supportsPut, boolean supportsRemove, boolean supportsClear) { super(allowsNullKeys, allowsNullValues, supportsPut, supportsRemove, supportsClear); } @Override protected abstract SortedMap<K, V> makeEmptyMap() throws UnsupportedOperationException; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java
try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } String keyToRemove = map.keySet().iterator().next(); if (supportsRemove) { int initialSize = map.size(); // var oldValue = map.get(keyToRemove); map.remove(keyToRemove); // This line doesn't hold - see the Javadoc comments above.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
} // retainAll(empty) @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmpty() { expectReturnsFalse(empty); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
assertGet(key); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughEntries() { multimap().entries().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughAsMap() { multimap().asMap().clear();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
iterator.next(); }); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_notPresent() { assertFalse("remove(notPresent) should return false", collection.remove(e3())); expectUnchanged(); } @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testRemove_nullPresent() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0)