- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getAsInt (0.05 sec)
-
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java
} @Test public void test_setAndGetAsInt() { String key = "key"; int value = 1; settings.set(key, value); assertEquals(value, settings.getAsInt(key, -1)); } @Test public void test_setAndGetAsLong() { String key = "key"; long value = Long.MAX_VALUE; settings.set(key, value);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
* @param key The key of the setting. * @param defaultValue The default value if the setting is not found. * @return The setting value as an int. */ public int getAsInt(final String key, final int defaultValue) { final Object obj = get(key); final int value; if (obj == null) { value = defaultValue; } else {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
/** * Constructs a new DefaultContentsAnalyzer. */ public DefaultContentsAnalyzer() { // nothing } private final int maxContentLenth = settings.getAsInt(SuggestSettings.DefaultKeys.MAX_CONTENT_LENGTH, 50000); /** * Analyzes the given text. * @param text The text to analyze. * @param field The field name.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
@Beta @InlineMe(replacement = "optional.stream()") @InlineMeValidationDisabled("Java 9+ API only") public static IntStream stream(OptionalInt optional) { return optional.isPresent() ? IntStream.of(optional.getAsInt()) : IntStream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
settingsBuilder.putProperties(settings, s -> s); } }); runner.build(config); final int port = runner.node().settings().getAsInt("http.port", 9200); httpAddress = "http://localhost:" + port; logger.warn("Embedded OpenSearch is running. This configuration is not recommended for production use."); break;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)