Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToImmutableEnumSetReused (0.29 sec)

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

      }
    
      public void testToImmutableEnumSetEmpty() {
        Set<SomeEnum> units = Stream.<SomeEnum>empty().collect(Sets.toImmutableEnumSet());
        assertThat(units).isEmpty();
      }
    
      public void testToImmutableEnumSetReused() {
        // The method call lets us capture the accumulator as an A and invoke the callbacks manually
        genericTestToImmutableEnumSetReused(Sets.<SomeEnum>toImmutableEnumSet());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
Back to top