Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testImmutableCopy (0.08 seconds)

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

        assertThat(difference(newHashSet(1, 2), newHashSet(1, 2)).immutableCopy()).isEmpty();
        assertThat(symmetricDifference(newHashSet(1, 2), newHashSet(1, 2)).immutableCopy()).isEmpty();
      }
    
      public void testImmutableCopy() {
        assertThat(union(newHashSet(1, 2), newHashSet(2, 3)).immutableCopy()).containsExactly(1, 2, 3);
        assertThat(intersection(newHashSet(1, 2), newHashSet(2, 3)).immutableCopy()).containsExactly(2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top