- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,918 for fluent (0.04 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
RequestData data = RequestDataBuilder.newRequestData().weight(2.5f).build(); assertEquals(2.5f, data.getWeight(), 0.001f); } public void test_fluentApiChaining() { // Test fluent API method chaining RequestData data = RequestDataBuilder.newRequestData().method(Constants.GET_METHOD).url("https://example.com/page").weight(1.5f).build();
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
+ facetResponse + "]"; } /** * Builder class for constructing SearchResult instances using the builder pattern. * * This builder provides a fluent interface for setting the various properties * of a SearchResult before creating the final immutable instance. */ static class SearchResultBuilder {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
* .orElse(null); * * // Get trimmed text content * String trimmedVersion = parent.child("version") * .map(Element::textContentTrimmed) * .orElse(null); * * // Set text content (fluent API) * element.textContent("4.0.0"); * }</pre> * * <h2>When to Use DomUtils</h2> * <p>Use DomUtils methods when you need: * <ul>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java
import java.util.ArrayList; import java.util.List; import eu.maveniverse.domtrip.Document; import eu.maveniverse.domtrip.Editor; /** * Builder for creating test POM documents with fluent API. */ public class PomBuilder { private String modelVersion = "4.0.0"; private String namespace = "http://maven.apache.org/POM/4.0.0"; private String groupId; private String artifactId;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Quantiles.java
import com.google.common.primitives.Doubles; import com.google.common.primitives.Ints; import java.math.RoundingMode; import java.util.Collection; import java.util.LinkedHashMap; import java.util.Map; /** * Provides a fluent API for calculating <a * href="http://en.wikipedia.org/wiki/Quantile">quantiles</a>. * * <h3>Examples</h3> * * <p>To compute the median: * * {@snippet : * double myMedian = median().compute(myDataset);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 30.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
* and cache file size to optimize the extraction process. * * <p> * The main purpose of this class is to simplify the extraction process by providing a fluent interface * for configuring the extraction parameters and handling the underlying complexities of content processing, * such as MIME type detection, extractor selection, and content length validation. * </p> * * <p>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 10.1K bytes - Click Count (0) -
CLAUDE.md
``` ### CrawlerThread (`CrawlerThread.java`) Worker thread for crawling. **Flow**: Poll URL → Validate → Get client → Delay → Check last-modified → Execute → Process → Extract children → Queue children → Delay ### CrawlerClientFactory Pattern-based client selection using `LinkedHashMap<Pattern, CrawlerClient>`. **Standard Patterns**: ```java "^https?://.*" → httpClient
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Fri Nov 28 17:31:34 GMT 2025 - 10.7K bytes - Click Count (0) -
mockwebserver/README.md
### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java MockResponse response = new MockResponse.Builder() .addHeader("Content-Type", "application/json; charset=utf-8") .addHeader("Cache-Control", "no-cache") .body("{}")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
README.md
--------- This program downloads a URL and prints its contents as a string. [Full source][get_example]. ```java 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(); } } ``` Post to a Server
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* specific language governing permissions and limitations * under the License. */ package org.fusesource.jansi; import java.util.ArrayList; /** * Provides a fluent API for generating * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_sequences">ANSI escape sequences</a>. * * This class comes from Jansi and is provided for backward compatibility
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 23.1K bytes - Click Count (0)