- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 109 for DefaultValue (0.12 seconds)
-
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
@Override public String getOrDefault(final String key, final String defaultValue) { if ("rag.chat.message.max.length".equals(key)) { return defaultValue; } return defaultValue; } }); final int result = chatApiManager.getMaxMessageLength(ComponentUtil.getFessConfig());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
guava/src/com/google/common/base/Present.java
} @Override public boolean isPresent() { return true; } @Override public T get() { return reference; } @Override public T or(T defaultValue) { checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); return reference; } @Override public Optional<T> or(Optional<? extends T> secondChoice) { checkNotNull(secondChoice);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0) -
migrator/column_type.go
} // Comment returns the comment of current column. func (ct ColumnType) Comment() (value string, ok bool) { return ct.CommentValue.String, ct.CommentValue.Valid } // DefaultValue returns the default value of current column. func (ct ColumnType) DefaultValue() (value string, ok bool) { return ct.DefaultValueValue.String, ct.DefaultValueValue.Valid
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Mar 24 01:31:58 GMT 2022 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
* otherwise, returns {@code defaultValue}. * * <p>In an undirected graph, this is equal to {@code edgeValueOrDefault(nodeV, nodeU, * defaultValue)}. * * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this * graph */ @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Absent.java
return false; } @Override public T get() { throw new IllegalStateException("Optional.get() cannot be called on an absent value"); } @Override public T or(T defaultValue) { return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); } @SuppressWarnings("unchecked") // safe covariant cast @Override public Optional<T> or(Optional<? extends T> secondChoice) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
/** * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default * value should be required because the instance is known to be present, use {@link #get()} * instead. For a default value of {@code null}, use {@link #orNull}. * * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overlyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<description>The type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".</description> <type>String</type> <defaultValue>default</defaultValue> </field> </fields> <codeSegments> <codeSegment> <version>1.0.0</version> <code><![CDATA[ public boolean equals( Object obj )
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 22 11:03:29 GMT 2025 - 13.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/mdo/core-extensions.mdo
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
} }; } private static @Nullable Object getDefaultValue(TypeToken<?> type) { Class<?> rawType = type.getRawType(); Object defaultValue = ArbitraryInstances.get(rawType); if (defaultValue != null) { return defaultValue; } // TODO(cpovirk): Support these types in ArbitraryInstances itself? if (rawType.equals(Predicate.class)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
// v1 == 0. .optional(defaultValue = 0), Adapters.INTEGER_AS_BIG_INTEGER, algorithmIdentifier, name, validity, name, subjectPublicKeyInfo, Adapters.BIT_STRING.withTag(tag = 1L).optional(), Adapters.BIT_STRING.withTag(tag = 2L).optional(), extension.asSequenceOf().withExplicitBox(tag = 3).optional(defaultValue = listOf()), decompose = {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13.6K bytes - Click Count (0)