- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 79 for DefaultValue (0.04 sec)
-
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
throw new UnsupportedOperationException(); } private <T> T pickInstance(T[] instances, T defaultValue) { return pickInstance(Arrays.asList(instances), defaultValue); } private <T> T pickInstance(Collection<T> instances, T defaultValue) { if (instances.isEmpty()) { return defaultValue; } // generateInt() is 1-based.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java
/** * Specifies the default value of the configuration property. * * @return the default value as a string, defaults to empty string */ String defaultValue() default ""; /** * Specifies whether the configuration property is read-only. * * @return true if the property is read-only, false otherwise */ boolean readOnly() default false;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
@Override public Object get(final Object key) { return getProperties().get(key); } @Override public String getProperty(final String key, final String defaultValue) { return getProperties().getProperty(key, defaultValue); } @Override public String getProperty(final String key) { return getProperties().getProperty(key); } @OverrideRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} default String getSystemProperty(final String key, final String defaultValue) { return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key, defaultValue)); } default void setSystemProperty(final String key, final String value) { if (value != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 88.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
) fun handshake(): Handshake? = handshake fun headers(name: String): List<String> = headers.values(name) @JvmOverloads fun header( name: String, defaultValue: String? = null, ): String? = headers[name] ?: defaultValue @JvmName("-deprecated_headers") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "headers"), level = DeprecationLevel.ERROR, )
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
properties.load(new StringReader(TEST_PROPERTIES)); String test = properties.getProperty("test"); assertEquals("test", test); String defaultValue = properties.getProperty("notfound", "default"); assertEquals("default", defaultValue); properties.setProperty("another", "another"); Object o1 = properties.getProperty("another"); assertEquals("another", o1);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 16.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
* * @param key the property key. * @param defaultValue a default value. * @return The property value of the default value */ public String getProperty(String key, String defaultValue) { if (this.get(key) != null) { return this.get(key); } return defaultValue; } @Override public Set<Entry<String, String>> entrySet() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 09:03:48 UTC 2025 - 38.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
* * @param key the property key. * @param defaultValue a default value. * @return The property value of the default value */ public String getProperty(String key, String defaultValue) { if (this.get(key) != null) { return this.get(key); } return defaultValue; } @Override public Set<Entry<String, String>> entrySet() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 38.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
* @param key the parameter key to look up * @param defaultValue the default value to return if key is not found * @return the parameter value as a string, or the default value if not found */ protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) { return paramMap.getAsString(key, defaultValue); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3)