Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SUPPORTS_REMOVE_WITH_INDEX (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

      SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE),
    
      GENERAL_PURPOSE(
          CollectionFeature.GENERAL_PURPOSE,
          SUPPORTS_SET,
          SUPPORTS_ADD_WITH_INDEX,
          SUPPORTS_REMOVE_WITH_INDEX),
    
      /** Features supported by lists where only removal is allowed. */
      REMOVE_OPERATIONS(CollectionFeature.REMOVE_OPERATIONS, SUPPORTS_REMOVE_WITH_INDEX);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      @ListFeature.Require(absent = SUPPORTS_REMOVE_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveAtIndex_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getList().remove(0));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      public void testRemoveAtIndex_negative() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

      SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE),
    
      GENERAL_PURPOSE(
          CollectionFeature.GENERAL_PURPOSE,
          SUPPORTS_SET,
          SUPPORTS_ADD_WITH_INDEX,
          SUPPORTS_REMOVE_WITH_INDEX),
    
      /** Features supported by lists where only removal is allowed. */
      REMOVE_OPERATIONS(CollectionFeature.REMOVE_OPERATIONS, SUPPORTS_REMOVE_WITH_INDEX);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

          derivedFeatures.add(ListFeature.SUPPORTS_ADD_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.SUPPORTS_REMOVE)) {
          derivedFeatures.add(ListFeature.SUPPORTS_REMOVE_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.GENERAL_PURPOSE)) {
          derivedFeatures.add(ListFeature.GENERAL_PURPOSE);
        }
        return derivedFeatures;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

          derivedFeatures.add(ListFeature.SUPPORTS_ADD_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.SUPPORTS_REMOVE)) {
          derivedFeatures.add(ListFeature.SUPPORTS_REMOVE_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.GENERAL_PURPOSE)) {
          derivedFeatures.add(ListFeature.GENERAL_PURPOSE);
        }
        return derivedFeatures;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top