Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for supportsRemove (0.1 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetPollLast() {
        assertNull(sortedMultiset.pollLastEntry());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMultisetFirst() {
        assertEquals(a, sortedMultiset.firstEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testReplaceValuesWithNullValue() {
        List<V> values = asList(v0(), null, v3());
        multimap().replaceValues(k0(), values);
        assertGet(k0(), values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testReplaceValuesWithNullKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

    public class MultimapRemoveAllTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class BiMapRemoveTester<K, V> extends AbstractBiMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveKeyRemovesFromInverse() {
        getMap().remove(k0());
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveKeyFromKeySetRemovesFromInverse() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       * @see #ALLOWS_NULL_ENTRY_QUERIES
       */
      ALLOWS_ANY_NULL_QUERIES(
          ALLOWS_NULL_ENTRY_QUERIES, ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_VALUE_QUERIES),
      RESTRICTS_KEYS,
      RESTRICTS_VALUES,
      SUPPORTS_PUT,
      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetPollLast() {
        assertNull(sortedMultiset.pollLastEntry());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMultisetFirst() {
        assertEquals(a, sortedMultiset.firstEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testPropagatesRemoveLastElementToMultimap() {
        Collection<V> result = multimap().asMap().get(k0());
        assertTrue(result.remove(v0()));
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testPropagatesClearToMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        assertNull(navigableSet.ceiling(e0()));
        assertNull(navigableSet.higher(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptySetPollLast() {
        assertNull(navigableSet.pollLast());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
      public void testSingletonSetPollFirst() {
        assertEquals(a, navigableSet.pollFirst());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMapPollLast() {
        assertNull(navigableMap.pollLastEntry());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a, navigableMap.firstEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top