Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for supportsRemove (0.08 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        MapTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
            boolean supportsClear,
            boolean supportsIteratorRemove) {
          super(
              false,
              allowsNullValues,
              supportsPut,
              supportsRemove,
              supportsClear,
              supportsIteratorRemove);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        MapTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
            boolean supportsClear,
            boolean supportsIteratorRemove) {
          super(
              false,
              allowsNullValues,
              supportsPut,
              supportsRemove,
              supportsClear,
              supportsIteratorRemove);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedWrongKeyPresentValue() {
        assertFalse(getMap().remove(k3(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedAbsentKeyAbsentValue() {
        assertFalse(getMap().remove(k3(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/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)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

    public class MultisetRemoveTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveNegative() {
        assertThrows(IllegalArgumentException.class, () -> getMultiset().remove(e0(), -1));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemoveUnsupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/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)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multisets;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_emptyCollection() {
        assertFalse(
            "removeAll(emptyCollection) should return false",
            collection.removeAll(MinimalCollection.of()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_nonePresent() {
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top