Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testKeySetIteratorRemove (0.47 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertThat(bimap.inverse().values())
            .containsExactly(Currency.DOLLAR, Currency.PESO, Currency.FRANC)
            .inOrder();
      }
    
      public void testKeySetIteratorRemove() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 16:35:21 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top