- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 76 for DefaultValue (0.04 sec)
-
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. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
@ValueSource(strings = { "text/unknown", "application/x-unknown", "custom/type", "" }) void testVariousDefaultValues(String defaultValue) throws IOException { assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue)); } } @Nested @DisplayName("Edge cases and special scenarios") class EdgeCases { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
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... //
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
<version>1.0.0+</version> <description>Whether to use a local copy instead (with filename that includes the base version)</description> <type>boolean</type> <defaultValue>false</defaultValue> </field> </fields> </class> <class java.clone="deep"> <name>SnapshotVersion</name> <version>1.1.0+</version>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertNull(dataStoreParams.getAsString("nonExistentKey")); assertEquals("defaultValue", dataStoreParams.getAsString("nonExistentKey", "defaultValue")); dataStoreParams.put("nullKey", null); assertEquals("defaultValue", dataStoreParams.getAsString("nullKey", "defaultValue")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java
* @param func The function to apply to the virtual host key * @param defaultValue The default value to return if no virtual host matches * @return The result of applying the function, or the default value */ protected <T> T processVirtualHost(final Function<String, T> func, final T defaultValue) { final Tuple3<String, String, String>[] vHosts = ComponentUtil.getFessConfig().getVirtualHosts();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
* @param defaultValue the default value if the property is not found * @return the string value or default value */ protected String getDefaultString(final String key, final String defaultValue) { final String value = systemProperties.getProperty(key); if (value != null) { return value; } return defaultValue; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
* @param clazz the class type to convert the value to * @param defaultValue the default value to return if the key is not found or conversion fails * @return the converted value or the default value if not found */ public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) { final T value = getValue(doc, key, clazz); if (value == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
* * @param key the parameter key to look up * @param defaultValue the default value to return if key is not found or value is null * @return the parameter value as a String, or defaultValue if not found */ public String getAsString(final String key, final String defaultValue) { final String value = getAsString(key); if (value != null) { return value;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0)