- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for defaultValue (0.15 sec)
-
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/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/validation/UriTypeTest.java
private String getDefaultMessage() { try { final Method method = UriType.class.getMethod("message"); final Object defaultValue = method.getDefaultValue(); return defaultValue != null ? defaultValue.toString() : null; } catch (final Exception e) { return "{org.lastaflute.validator.constraints.UriType.message}"; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
* @param key The key of the parameter. * @param defaultValue The default value if the parameter is not found. * @param clazz The class type to convert the parameter to. * @return The parameter value, or the default value if not found. */ protected <T> T getInitParameter(final String key, final T defaultValue, final Class<T> clazz) { if (initParamMap != null) { try {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (0) -
tests/migrate_test.go
columnType, err := findColumnType(tableName, "content") AssertEqual(t, err, nil) defVal, ok := columnType.DefaultValue() AssertEqual(t, defVal, "null") AssertEqual(t, ok, true) columnType2, err := findColumnType(tableName, "active") AssertEqual(t, err, nil) defVal, ok = columnType2.DefaultValue() bv, _ := strconv.ParseBool(defVal) AssertEqual(t, bv, false) AssertEqual(t, ok, true)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
@SuppressWarnings("unchecked") // Assume all default values are generics safe. T defaultValue = (T) defaultValues.getInstance(rawType); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies. T value = (T) ArbitraryInstances.get(rawType); if (value != null) { return value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Present.java
} @Override public boolean isPresent() { return true; } @Override public T get() { return reference; } @Override public T or(T defaultValue) { checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); return reference; } @Override public Optional<T> or(Optional<? extends T> secondChoice) { checkNotNull(secondChoice);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<description>The type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".</description> <type>String</type> <defaultValue>default</defaultValue> </field> </fields> <codeSegments> <codeSegment> <version>1.0.0</version> <code><![CDATA[ public boolean equals( Object obj )
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 22 11:03:29 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* determined. */ public static <T> @Nullable T get(Class<T> type) { T defaultValue = DEFAULTS.getInstance(type); if (defaultValue != null) { return defaultValue; } Class<? extends T> implementation = getImplementation(type); if (implementation != null) { return get(implementation); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
// v1 == 0. .optional(defaultValue = 0), Adapters.INTEGER_AS_BIG_INTEGER, algorithmIdentifier, name, validity, name, subjectPublicKeyInfo, Adapters.BIT_STRING.withTag(tag = 1L).optional(), Adapters.BIT_STRING.withTag(tag = 2L).optional(), extension.asSequenceOf().withExplicitBox(tag = 3).optional(defaultValue = listOf()), decompose = {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 13.6K bytes - Viewed (0)