- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 76 for DefaultValue (0.05 sec)
-
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) -
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} if
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K 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) -
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/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) -
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/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java
FessProp.propMap.clear(); FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public String getSystemProperty(final String key, final String defaultValue) { return systemPropMap.getOrDefault(key, defaultValue); } @Override public boolean isCrawlerIgnoreRobotsTxt() { return false; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.6K 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)