Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,006 for Builder (0.16 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        ImmutableMultimap<Integer, String> single =
            new ImmutableMultimap.Builder<Integer, String>().put(1, "one").put(2, "two").build();
    
        // copy into existing multimap
        assertSame(multimap, Multimaps.invertFrom(single, multimap));
    
        ImmutableMultimap<String, Integer> expected =
            new ImmutableMultimap.Builder<String, Integer>().put("one", 1).put("two", 2).build();
    
        assertEquals(expected, multimap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.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. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.api.model.DependencyManagement;
    import org.apache.maven.api.model.Model;
    
    /**
     * Describes a tag used by the model builder to access a {@link ModelCache}. This interface basically aggregates a name
     * and a class to provide some type safety when working with the otherwise untyped cache.
     *
     * @param <T> The type of data associated with the tag.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Signals one ore more errors during settings building. The settings builder tries to collect as many problems as
     * possible before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to
     * query the details of the failure.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            final List<SortBuilder<?>> list = new ArrayList<>();
            if (defaultSortBuilders != null) {
                stream(defaultSortBuilders).of(stream -> stream.forEach(builder -> list.add(builder)));
            }
            list.add(createFieldSortBuilder(fieldName, SortOrder.DESC.toString().equalsIgnoreCase(order) ? SortOrder.DESC : SortOrder.ASC));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. README.ja.md

    fess-suggest
    ============
    
    Library for suggest.
    
    ## Usage
    
    ### Suggester生成
    
    ```java
    String suggestId = "id";
    Suggester suggester = Suggester.builder().build(client, suggestId);
    
    ```
    
    Suggesterを生成すると指定したIDに対応した以下の設定がElasticsearchのインデックスに作成されます。
    
    * .suggest
        * suggesterの設定
        * インデックス/タイプ名
        * tagフィールド名
        * roleフィールド名
    * .suggest-array
        * suggesterの設定(配列)
        * 対応フィールド名
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Jul 27 10:00:55 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  9. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        // Not available
        platform.expectFailureOnJdkVersion(8)
    
        val httpClient =
          HttpClient.newBuilder()
            .followRedirects(NORMAL)
            .build()
    
        server.enqueue(
          MockResponse.Builder()
            .body("hello, Java HTTP Client")
            .build(),
        )
    
        val request =
          HttpRequest.newBuilder(server.url("/").toUri())
            .header("Accept", "text/plain")
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

            super(classWorld);
        }
    
        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultLocalMavenInvoker(
                    ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build());
        }
    
        @Override
        protected MavenInvokerRequest<MavenOptions> parseArguments(String[] args) throws ParserException, IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top