Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EnumHashBiMap (0.06 sec)

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

            IllegalArgumentException.class,
            () -> EnumBiMap.create(Collections.<Currency, Country>emptyMap()));
        assertThrows(
            IllegalArgumentException.class,
            () -> EnumBiMap.create(EnumHashBiMap.<Currency, Country>create(Currency.class)));
    
        /* Map can be empty if it's an EnumBiMap. */
        Map<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top