Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testKeySetIteratorRemove (0.16 sec)

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

        getMap().inverse().values().remove(k0());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
        Iterator<K> keyItr = multimap().keySet().iterator();
        while (keyItr.hasNext()) {
          if (keyItr.next().equals(k0())) {
            keyItr.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

        getMap().inverse().values().remove(k0());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top