- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 893 for builder2 (0.16 sec)
-
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
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) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
} private fun addInterceptor( network: Boolean, interceptor: Interceptor, ) { val builder = client.newBuilder() if (network) { builder.addNetworkInterceptor(interceptor) } else { builder.addInterceptor(interceptor) } client = builder.build() } /** Catches exceptions that are otherwise headed for the uncaught exception handler. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K 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) -
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) -
clause/on_conflict.go
func (onConflict OnConflict) Build(builder Builder) { if onConflict.OnConstraint != "" { builder.WriteString("ON CONSTRAINT ") builder.WriteString(onConflict.OnConstraint) builder.WriteByte(' ') } else { if len(onConflict.Columns) > 0 { builder.WriteByte('(') for idx, column := range onConflict.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Oct 07 05:46:20 UTC 2022 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
Escapers.Builder builder = Escapers.builder(); builder.setSafeRange('a', 'z'); builder.setUnsafeReplacement("X"); assertEquals("XheXXuickXXrownXXoxX", builder.build().escape("The Quick Brown Fox!")); // Explicit replacements take priority over unsafe characters. builder.addEscape(' ', "_"); builder.addEscape('!', "_");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
component: Component, ) { val builder = "http://host/".toHttpUrl().newBuilder() assertFailsWith<IllegalArgumentException> { component[builder] = codePointString } } private fun testPunycode( codePointString: String, component: Component, ) { val builder = "http://host/".toHttpUrl().newBuilder() component[builder] = codePointString val url = builder.build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
Comparator<String> comparator = createExplicitComparator(elements); ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator); builder.add(BEFORE_FIRST); builder.add(BEFORE_FIRST_2); builder.add(elements); builder.add(AFTER_LAST); builder.add(AFTER_LAST_2); return builder .build() .subSet(BEFORE_FIRST_2, AFTER_LAST_2) .asList()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0)