- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 109 for DefaultValue (0.12 seconds)
-
src/main/java/org/codelibs/core/lang/SystemUtil.java
* * @param key the property key * @param defaultValue the default value * @return the property value, or the default value if not found */ public static String getProperty(String key, String defaultValue) { return System.getProperty(key, defaultValue); } /** * Returns the system environment variable value for the specified key. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
return defaultValue != null ? defaultValue.toString() : StringUtil.EMPTY; } catch (final Exception e) { return StringUtil.EMPTY; } } private String getDefaultMaxKey() { try { final Method method = CustomSize.class.getMethod("maxKey"); final Object defaultValue = method.getDefaultValue();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ForwardingValueGraph.java
} @Override public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) { return delegate().edgeValueOrDefault(nodeU, nodeV, defaultValue); } @Override public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) { return delegate().edgeValueOrDefault(endpoints, defaultValue); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
} } } return defaultValue; } /** * Retrieves a long value from system properties with a default fallback. * * @param key the property key to look up * @param defaultValue the default value if the property is not found or invalidCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 02:14:37 GMT 2026 - 16.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
* Returns the first element in {@code iterable} that satisfies the given predicate, or {@code * defaultValue} if none found. Note that this can usually be handled more naturally using {@code * tryFind(iterable, predicate).or(defaultValue)}. * * <p><b>{@code Stream} equivalent:</b> {@code * stream.filter(predicate).findFirst().orElse(defaultValue)} * * @since 7.0 */ // The signature we really want here is... //Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
private static final long serialVersionUID = 1L; @Override public String getOrDefault(final String key, final String defaultValue) { // Do not override the key — let it use defaultValue return defaultValue; } }); chatClient.setTestSummaryMaxChars(50); final ChatSession session = new ChatSession();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
return length } fun String.toLongOrDefault(defaultValue: Long): Long = try { toLong() } catch (_: NumberFormatException) { defaultValue } /** * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too * large, or [defaultValue] if it cannot be parsed. */ internal fun String?.toNonNegativeInt(defaultValue: Int): Int { try {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 17 09:48:21 GMT 2026 - 133.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
* position}th position or {@code defaultValue} otherwise. * * @param position position of the element to return * @param defaultValue the default value to return if the iterator is empty or if {@code position} * is greater than the number of elements remaining in {@code iterator} * @return the element at the specified position in {@code iterator} or {@code defaultValue} ifCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
* position}th position or {@code defaultValue} otherwise. * * @param position position of the element to return * @param defaultValue the default value to return if the iterator is empty or if {@code position} * is greater than the number of elements remaining in {@code iterator} * @return the element at the specified position in {@code iterator} or {@code defaultValue} ifCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0)