Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToImmutableMultiset (0.2 sec)

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

            Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertThrows(
            NullPointerException.class, () -> ImmutableMultiset.copyOf((Iterator<String>) iterator));
      }
    
      public void testToImmutableMultiset() {
        BiPredicate<ImmutableMultiset<String>, ImmutableMultiset<String>> equivalence =
            (ms1, ms2) -> ms1.equals(ms2) && ms1.entrySet().asList().equals(ms2.entrySet().asList());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top