Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEnumMapWithInitialEmptyEnumMap (0.31 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        original.put(SomeEnum.SOME_INSTANCE, 0);
        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
      }
    
      public void testEnumMapWithInitialEmptyEnumMap() {
        EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class);
        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
Back to top