Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ImmutableEnumMap (0.33 sec)

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

      public void testCopyOfEnumMap() {
        EnumMap<AnEnum, String> map = new EnumMap<>(AnEnum.class);
        map.put(AnEnum.B, "foo");
        map.put(AnEnum.C, "bar");
        assertTrue(ImmutableMap.copyOf(map) instanceof ImmutableEnumMap);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
        Map<String, Integer> map = ImmutableMap.of("one", 1, "two", 2, "three", 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
Back to top