- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,006 for Builder (0.07 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Builder<String, Integer> builder = new Builder<>(); assertThrows( NullPointerException.class, () -> builder.put(new SimpleEntry<String, Integer>(null, 1))); builder.put("foo", 2); assertMapEquals(builder.buildOrThrow(), "foo", 2); } public void testBuilderPutNullKey() { Builder<String, Integer> builder = new Builder<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
unused = builder.build(); // this is *also* allowed } public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build(); assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); builder.setPriority(2); // change the state of the builder assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
val certificate = HeldCertificate.Builder() .signedBy(intermediateCa) .serialNumber(3L) .commonName(server.hostName) .build() val certificatePinner = CertificatePinner.Builder() .add(server.hostName, pin(rootCa.certificate)) .build() val handshakeCertificates = HandshakeCertificates.Builder() .addTrustedCertificate(rootCa.certificate)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsGroupCQ.java
RangeQueryBuilder builder = regRangeQ("gidNumber", ConditionKey.CK_LESS_EQUAL, _value); if (opLambda != null) { opLambda.callback(builder); } } public void setGidNumber_Exists() { setGidNumber_Exists(null); } public void setGidNumber_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) { ExistsQueryBuilder builder = regExistsQ("gidNumber");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 20K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java
public String getSignature() { StringBuilder builder = new StringBuilder(); builder.append(returnType.getSignature()); builder.append(' '); builder.append(name); builder.append('('); for (int i = 0; i < parameters.size(); i++) { ParameterMetaData param = parameters.get(i); if (i > 0) { builder.append(", "); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException { builder.startObject(); if (sessionId != null) { builder.field(SESSION_ID, sessionId); } if (ruleId != null) { builder.field(RULE_ID, ruleId); } if (url != null) { builder.field(URL, url); } if (parentUrl != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
builder.append(value); return this; } public Ansi a(long value) { flushAttributes(); builder.append(value); return this; } public Ansi a(Object value) { flushAttributes(); builder.append(value); return this; } public Ansi a(StringBuffer value) { flushAttributes(); builder.append(value);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
ImmutableMultimap.Builder<String, String> builder = ImmutableMultimap.<String, String>builder().expectedValuesPerKey(0); builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value")); } public void testBuilderWithExpectedValuesPerKeyPositive() { ImmutableMultimap.Builder<String, String> builder =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
public SortedMap<String, String> create(Entry<String, String>[] entries) { ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableSortedMapCopyOfEntriesGenerator
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0)