Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testClearPropagatesToGet (0.18 sec)

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

      public void testClearThroughValues() {
        multimap().values().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClearPropagatesToGet() {
        for (K key : sampleKeys()) {
          resetContainer();
          Collection<V> collection = multimap().get(key);
          multimap().clear();
          assertEmpty(collection);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

      public void testClearThroughValues() {
        multimap().values().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClearPropagatesToGet() {
        for (K key : sampleKeys()) {
          resetContainer();
          Collection<V> collection = multimap().get(key);
          multimap().clear();
          assertEmpty(collection);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top