Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forceJdk (0.06 sec)

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

                      @Override
                      protected Set<String> create(String[] elements) {
                        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
                        builder.forceJdk();
                        builder.add(elements);
                        return builder.build();
                      }
                    })
                .named(ImmutableSetTest.class.getName() + ", with JDK builder")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

            impl = EmptySetBuilderImpl.instance();
          }
        }
    
        Builder(@SuppressWarnings("unused") boolean subclass) {
          this.impl = null; // unused
        }
    
        @VisibleForTesting
        void forceJdk() {
          requireNonNull(impl); // see the comment on the field
          this.impl = new JdkBackedSetBuilderImpl<>(impl);
        }
    
        final void copyIfNecessary() {
          if (forceCopy) {
            copy();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. guava-gwt/pom.xml

              <show>package</show>
            </configuration>
          </plugin>
          <!-- Disable "normal" testing, which doesn't work for GWT tests. -->
          <plugin>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top