Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,372 for builder (0.06 seconds)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(random.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableDoubleArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

            i++;
          }
        }
    
        Object readResolve() {
          int n = elements.length;
          Builder<E> builder = new Builder<>(comparator);
          for (int i = 0; i < n; i++) {
            builder.addCopies(elements[i], counts[i]);
          }
          return builder.build();
        }
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

        return new ImmutableMapEntry<>(key, value);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        }
      }
    
      public static <E> Builder<E> builder() {
        return new Builder<E>();
      }
    
      public static <E> Builder<E> builderWithExpectedSize(int size) {
        return new Builder<E>(size);
      }
    
      public static class Builder<E> extends ImmutableCollection.Builder<E> {
        // accessed directly by ImmutableSortedSet
        final ArrayList<E> contents;
    
        public Builder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Joiner.java

       * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable,
       * Iterable)}, except that it does not throw {@link IOException}.
       */
      @CanIgnoreReturnValue
      public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) {
        return appendTo(builder, parts.iterator());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

        return new SerializedForm(toArray());
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of elements to be added.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            }
    
            private
            fun processDirectory(dir: Path, builder: Trie.Builder) {
                Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
                    override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
                        val zipEntry = ZipEntry(dir.relativize(file).toString())
                        processEntry(zipEntry, builder)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java

         * @param value The value of the setting.
         * @return This builder instance.
         */
        public SuggestSettingsBuilder addInitialSettings(final String key, final Object value) {
            initialSettings.put(key, value);
            return this;
        }
    
        /**
         * Sets the scroll timeout.
         * @param timeout The scroll timeout.
         * @return This builder instance.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.buildOrThrow();
        }
      }
    
      public static class ImmutableMapCopyOfGenerator extends TestStringMapGenerator {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         *
         * @param func the callback function to build XContent
         * @param mediaType the media type for the content builder
         * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs
         */
        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top