Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 956 for builder_ (0.08 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

       * @param predicateType The first parameter to the method (boolean or Object)
       */
      private static ImmutableList<ImmutableList<Class<?>>> allSignatures(Class<?> predicateType) {
        ImmutableSet.Builder<ImmutableList<Class<?>>> allOverloads = ImmutableSet.builder();
        // The first two are for the overloads that don't take formatting args, e.g.
        // checkArgument(boolean) and checkArgument(boolean, Object)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

        checkNotNull(valueFunction);
        ImmutableMap.Builder<K, V> builder = ImmutableMap.builder();
        while (keys.hasNext()) {
          K key = keys.next();
          builder.put(key, valueFunction.apply(key));
        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

        checkNotNull(valueFunction);
        ImmutableMap.Builder<K, V> builder = ImmutableMap.builder();
        while (keys.hasNext()) {
          K key = keys.next();
          builder.put(key, valueFunction.apply(key));
        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

     * explanation.
     *
     * @param <K> the most general key type this builder will be able to create caches for. This is
     *     normally {@code Object} unless it is constrained by using a method like {@code
     *     #removalListener}. Cache keys may not be null.
     * @param <V> the most general value type this builder will be able to create caches for. This is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Supplier.java

    /**
     * A class that can supply objects of a single type; a pre-Java-8 version of {@link
     * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,
     * generator, builder, closure, or something else entirely. No guarantees are implied by this
     * interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 15 12:15:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       * decline to do so by returning null, in which case OkHttp will use it as-is.
       */
      @Throws(IOException::class)
      private fun createTunnelRequest(route: Route): Request {
        val proxyConnectRequest =
          Request.Builder()
            .url(route.address.url)
            .method("CONNECT", null)
            .header("Host", route.address.url.toHostHeader(includeDefaultPort = true))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

                  appendQuotedString(filename)
                }
              }
    
            val headers =
              Headers.Builder()
                .addUnsafeNonAscii("Content-Disposition", disposition)
                .build()
    
            return create(headers, body)
          }
        }
      }
    
      class Builder
        @JvmOverloads
        constructor(boundary: String = UUID.randomUUID().toString()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(RowSortedTable.class, Tables.unmodifiableRowSortedTable(TreeBasedTable.create()))
              .put(ClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
              .put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
              .put(Comparable.class, ByToString.INSTANCE)
              .put(Comparator.class, AlwaysEqual.INSTANCE)
              .put(Ordering.class, AlwaysEqual.INSTANCE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    .actionGet(fessConfig.getIndexHealthTimeout());
    
            final SuggestSettingsBuilder settingsBuilder = SuggestSettings.builder();
            settingsBuilder.addInitialSettings("search_engine.type", fessConfig.getFesenType());
            settingsBuilder.bulkTimeout(fessConfig.getIndexBulkTimeout());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      private static ImmutableList<URL> parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top