Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 989 for BUILDER (0.05 sec)

  1. guava/src/com/google/common/primitives/Longs.java

        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 10);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. api/maven-api-plugin/src/site/apt/index.apt

     This is the immutable model for Maven Plugin Descriptor in <<<org.apache.maven.api.plugin.descriptor>>> package.
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. impl/maven-core/pom.xml

          <artifactId>maven-settings-builder</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-toolchain-model</artifactId>
        </dependency>
        <!-- Used for Javadoc in a deprecated class only -->
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-toolchain-builder</artifactId>
        </dependency>
        <dependency>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:40:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/EnumsTest.java

       */
      // TODO(b/65488446): Make this a public API.
      @J2ktIncompatible
      @GwtIncompatible
      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: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt

            ) {}
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
            }
          }
        repeat(10_000) {
          okhttp.newCall(Request.Builder().url(server.url("/")).build()).enqueue(callback)
        }
        okhttp.dispatcher.executorService.shutdown()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/guide/GetExample.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public class GetExample {
      final OkHttpClient client = new OkHttpClient();
    
      String run(String url) throws IOException {
        Request request = new Request.Builder()
            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
        for (ClassPath.LocationInfo location : ClassPath.locationsFrom(loader)) {
          for (ResourceInfo resource : location.scanResources()) {
            builder.add(resource.getResourceName());
          }
        }
        return builder.build();
      }
    
      private static boolean isWindows() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  8. README.md

    ============
    
    Library for suggest.
    
    ## Usage
    
    ### Create suggester instance
    
    ```java
    String suggestId = "id";
    Suggester suggester = Suggester.builder().build(client, suggestId);
    
    ```
    
    ### Suggest
    
    ```java
    SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse();
    ```
    
    ### Suggest async
    
    ```
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * resulting URL is not well-formed.
       */
      fun resolve(link: String): HttpUrl? = newBuilder(link)?.build()
    
      /**
       * Returns a builder based on this URL.
       */
      fun newBuilder(): Builder {
        val result = Builder()
        result.scheme = scheme
        result.encodedUsername = encodedUsername
        result.encodedPassword = encodedPassword
        result.host = host
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            }
        }
    
        private static OutputStream getXContentOutputStream(final Map<String, Object> firstLineMap) throws IOException {
            try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) {
                builder.flush();
                return builder.getOutputStream();
            }
        }
    
        public static ReadingConverter createDefaultReadingConverter(final Client client, final SuggestSettings settings) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top