- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getOrDefault (0.16 sec)
-
src/main/java/org/codelibs/fess/entity/ParamMap.java
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/crawler/service/FessUrlQueueService.java
final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(sessionId); final Map<String, String> configParams = crawlingConfig.getConfigParameterMap(ConfigName.CONFIG); final String crawlOrder = configParams.getOrDefault(CrawlingConfig.Param.Config.CRAWL_ORDER, ORDER_SEQUENTIAL); if (ORDER_RANDOM.equals(crawlOrder)) { return getList(OpenSearchUrlQueue.class, sessionId,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* * - a `getFooOrDefault(@Nullable Foo defaultValue)` method that returns * `map.getOrDefault(FOO_KEY, defaultValue)` * * - a call that consults a chain of maps, as in `mapA.getOrDefault(key, mapB.getOrDefault(key, * ...))` * * So it makes sense for the parameter (and thus the return type) to be @Nullable. * * Two other points: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* @return the environment variable value, or the default value if not found */ public static String getEnv(String key, String defaultValue) { return System.getenv().getOrDefault(key, defaultValue); } /** * Returns the current time in milliseconds. * * @return the current time in milliseconds */ public static long currentTimeMillis() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
* @return List of keywords for the default field, or empty list if none. */ public List<String> getDefaultKeyword() { if (fieldLogMap != null) { return fieldLogMap.getOrDefault(Constants.DEFAULT_FIELD, Collections.emptyList()); } return Collections.emptyList(); } /** * Adds a query term to the highlighted query set.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public String getSystemProperty(final String key, final String defaultValue) { return systemPropMap.getOrDefault(key, defaultValue); } }; ComponentUtil.setFessConfig(fessConfig); SystemHelper systemHelper = new SystemHelper() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
} } return 0; } @Override public int add(E element, int occurrences) { checkArgument(occurrences >= 0); Integer frequency = backingMap.getOrDefault(element, 0); if (occurrences == 0) { return frequency; } checkArgument(occurrences <= Integer.MAX_VALUE - frequency); backingMap.put(element, frequency + occurrences);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * - a `getFooOrDefault(@Nullable Foo defaultValue)` method that returns * `map.getOrDefault(FOO_KEY, defaultValue)` * * - a call that consults a chain of maps, as in `mapA.getOrDefault(key, mapB.getOrDefault(key, * ...))` * * So it makes sense for the parameter (and thus the return type) to be @Nullable. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* * <p>Prefer to write the lambda expression {@code k -> map.getOrDefault(k, defaultValue)} * instead. Note that it is not serializable unless you explicitly make it {@link Serializable}, * typically by writing {@code (Function<K, V> & Serializable) k -> map.getOrDefault(k, * defaultValue)}. * * @param map source map that determines the function behavior
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
throw new IllegalStateException("Unable to retrieve current key for rotation"); } try { // Generate new key version int currentVersion = keyVersions.getOrDefault(sessionId, 0); int newVersion = currentVersion + 1; // Derive new key from current key String rotationLabel = String.format("KeyRotation-v%d", newVersion);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0)