Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToImmutableBiMap (0.1 sec)

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

        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> ImmutableBiMap.copyOf(map));
        assertThat(expected.getMessage()).containsMatch("1|2");
      }
    
      public void testToImmutableBiMap() {
        Collector<Entry<String, Integer>, ?, ImmutableBiMap<String, Integer>> collector =
            toImmutableBiMap(Entry::getKey, Entry::getValue);
        Equivalence<ImmutableBiMap<String, Integer>> equivalence =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top