Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getOrDefault (0.07 seconds)

  1. guava/src/com/google/common/collect/Maps.java

          return backingSet().contains(key);
        }
    
        @Override
        public @Nullable V get(@Nullable Object key) {
          return getOrDefault(key, null);
        }
    
        @Override
        public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) {
          if (Collections2.safeContains(backingSet(), key)) {
            @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        String CRAWLER_METADATA_CONTENT_EXCLUDES = "crawlerMetadataContentExcludes";
    
        Map<String, Object> propMap = new ConcurrentHashMap<>();
    
        String getOrDefault(String propertyKey, String defaultValue);
    
        //
        // system.properties
        //
    
        default void storeSystemProperties() {
            ComponentUtil.getSystemProperties().store();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

         * @return the maximum message length
         */
        protected int getMaxMessageLength(final FessConfig fessConfig) {
            try {
                return Integer.parseInt(fessConfig.getOrDefault("rag.chat.message.max.length", "4000"));
            } catch (final NumberFormatException e) {
                logger.warn("Invalid rag.chat.message.max.length config, using default 4000");
                return 4000;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

        if (value == null) {
          globalStatsCounter.recordMisses(1);
        } else {
          globalStatsCounter.recordHits(1);
        }
        return value;
      }
    
      @Override
      public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) {
        V result = get(key);
        return (result != null) ? result : defaultValue;
      }
    
      V getOrLoad(K key) throws ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        if (value == null) {
          globalStatsCounter.recordMisses(1);
        } else {
          globalStatsCounter.recordHits(1);
        }
        return value;
      }
    
      @Override
      public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) {
        V result = get(key);
        return (result != null) ? result : defaultValue;
      }
    
      V getOrLoad(K key) throws ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         *
         * @param index the index configuration name
         */
        protected void sendConfigFiles(final String index) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            configListMap.getOrDefault(index, Collections.emptyList()).forEach(path -> {
                String source = null;
                final String filePath = indexConfigPath + "/" + index + "/" + path;
                final String dictionaryPath;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
Back to Top