- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 989 for BUILDER (0.07 sec)
-
docs/recipes.md
Use `FormBody.Builder` to build a request body that works like an HTML `<form>` tag. Names and values will be encoded using an HTML-compatible form URL encoding. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val formBody = FormBody.Builder() .add("search", "Jurassic Park") .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
@Override protected BiMap<String, String> create(Entry<String, String>[] entries) { ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt
@Throws(Exception::class) fun secondsMustBeNonNegative() { val builder = CacheControl.Builder() assertFailsWith<IllegalArgumentException> { builder.maxAge(-1, TimeUnit.SECONDS) } } @Test @Throws(Exception::class) fun timePrecisionIsTruncatedToSeconds() { val cacheControl = CacheControl.Builder() .maxAge(4999, TimeUnit.MILLISECONDS) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java
/** * XMLを解析します。 * * @param builder * {@link DocumentBuilder}。{@literal null}であってはいけません * @param is * 入力ストリーム。{@literal null}であってはいけません * @return {@link Document} */ public static Document parse(final DocumentBuilder builder, final InputStream is) { assertArgumentNotNull("builder", builder); assertArgumentNotNull("is", is); try {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
ValueGraph<N, V> graph) { // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the // input nodes are sorted. ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder(); for (N node : graph.nodes()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
// key will lead to an immediate exception. If it is not null then a duplicate key will instead be // stored in the builder, which may use it to throw an exception later. static <K, V> RegularImmutableMap<K, V> create( int n, @Nullable Object[] alternatingKeysAndValues, @Nullable Builder<K, V> builder) { if (n == 0) { @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardValueGraph.java
/** Constructs a graph with the properties specified in {@code builder}. */ StandardValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), 0L); } /** * Constructs a graph with the properties specified in {@code builder}, initialized with the given * node map. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.1K bytes - Viewed (0) -
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. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 19:14:45 UTC 2024 - 30.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
public static <E> Builder<E> orderedBy(Comparator<E> comparator) { return new Builder<>(comparator); } /** * Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse * of their natural ordering. */ public static <E extends Comparable<?>> Builder<E> reverseOrder() { return new Builder<>(Collections.reverseOrder()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java
/** * Creates a new message builder. * @return a new message builder */ @Nonnull MessageBuilder builder(); /** * Creates a new message builder of the specified size. * @param size the initial size of the message builder buffer * @return a new message builder */ @Nonnull MessageBuilder builder(int size);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Jan 08 10:37:09 UTC 2024 - 1.8K bytes - Viewed (0)