- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 81 for defaultValue (0.06 sec)
-
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... //
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 07 14:32:16 UTC 2025 - 132.7K 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) -
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) -
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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K 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) -
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) -
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/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)