Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for manipulation (0.42 sec)

  1. android/guava/src/com/google/common/collect/CollectCollectors.java

        ImmutableSet<E> toImmutableSet() {
          if (set == null) {
            return ImmutableSet.of();
          }
          ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set);
          set = null; // subsequent manual manipulation of the accumulator mustn't affect ret
          return ret;
        }
      }
    
      @GwtIncompatible
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E extends Comparable<? super E>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectCollectors.java

        ImmutableSet<E> toImmutableSet() {
          if (set == null) {
            return ImmutableSet.of();
          }
          ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set);
          set = null; // subsequent manual manipulation of the accumulator mustn't affect ret
          return ret;
        }
      }
    
      @GwtIncompatible
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E extends Comparable<? super E>>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. 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)
Back to top