- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,006 for Builder (0.05 sec)
-
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
public void testBuilder_presize_zero() { ImmutableIntArray.Builder builder = ImmutableIntArray.builder(0); builder.add(5); ImmutableIntArray array = builder.build(); assertThat(array.asList()).containsExactly(5); } public void testBuilder_presize_negative() { assertThrows(IllegalArgumentException.class, () -> ImmutableIntArray.builder(-1)); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
public void testBuilder_presize_zero() { ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(0); builder.add(5.0); ImmutableDoubleArray array = builder.build(); assertThat(array.asList()).containsExactly(5.0); } public void testBuilder_presize_negative() { assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1)); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); builder.put("b", 3); builder.put("d", 2); builder.put("a", 5); builder.orderValuesBy(Collections.reverseOrder()); builder.put("c", 4); builder.put("a", 2); builder.put("b", 6); ImmutableListMultimap<String, Integer> multimap = builder.build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java
MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("boost", boost); if (opLambda != null) { opLambda.callback(builder); } } public void setBoost_Fuzzy(Float boost) { setBoost_Fuzzy(boost, null); } public void setBoost_Fuzzy(Float boost, ConditionOptionCall<MatchQueryBuilder> opLambda) { MatchQueryBuilder builder = regFuzzyQ("boost", boost);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 165.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
} @GwtIncompatible("Builder impl") public void testPresizedBuilderDedups() { ImmutableSet.Builder<String> builder = ImmutableSet.builderWithExpectedSize(4); builder.add("a"); assertEquals(1, builder.size); builder.add("a"); assertEquals(1, builder.size); builder.add("b", "c", "d"); assertEquals(4, builder.size); Object[] table = builder.hashTable; assertNotNull(table);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
return sb.toString(); } public void format(StringBuilder builder, long size) { format(builder, size, null, false); } public void format(StringBuilder builder, long size, ScaleUnit unit) { format(builder, size, unit, false); } private void format(StringBuilder builder, long size, ScaleUnit unit, boolean omitSymbol) { if (size < 0L) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java
@Override protected void mergeBuild_Extensions( Build.Builder builder, Build target, Build source, boolean sourceDominant, Map<Object, Object> context) { // don't merge } @Override protected void mergeBuildBase_Resources( BuildBase.Builder builder, BuildBase target, BuildBase source, boolean sourceDominant,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java
protected ExtendedPluginDescriptor(Builder builder) { super(builder); this.additionalField = builder.additionalField; } public String getAdditionalField() { return additionalField; } public static class Builder extends PluginDescriptor.Builder { protected String additionalField; public Builder() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 07:05:43 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsWebAuthenticationCQ.java
if (opLambda != null) { opLambda.callback(builder); } } public void setAuthRealm_Wildcard(String authRealm) { setAuthRealm_Wildcard(authRealm, null); } public void setAuthRealm_Wildcard(String authRealm, ConditionOptionCall<WildcardQueryBuilder> opLambda) { WildcardQueryBuilder builder = regWildcardQ("authRealm", authRealm);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 95.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); builder.put(k1, v1); builder.put(k2, v2); builder.put(k3, v3); builder.put(k4, v4); builder.put(k5, v5); return builder.build(); } // looking for of() with > 5 entries? Use the builder instead. /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 20:20:32 UTC 2024 - 19K bytes - Viewed (0)