Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sandal (0.16 sec)

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

        adder.accept(accumulator, SomeEnum.B);
        ImmutableSet<SomeEnum> set = collector.finisher().apply(accumulator);
        assertThat(set).containsExactly(SomeEnum.A, SomeEnum.B);
    
        // Subsequent manual manipulation of the accumulator must not affect the state of the built set
        adder.accept(accumulator, SomeEnum.C);
        assertThat(set).containsExactly(SomeEnum.A, SomeEnum.B);
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsTest.java

        assertFalse(powerSet.contains(null));
        assertFalse(powerSet.contains((Object) "notASet"));
      }
    
      public void testPowerSetIteration_manual() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3);
        Set<Set<Integer>> powerSet = powerSet(elements);
        // The API doesn't promise this iteration order, but it's convenient here.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
Back to top