Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for getOrDefault (0.16 sec)

  1. android/guava/src/com/google/common/net/MediaType.java

          mediaType.parsedCharset = this.parsedCharset;
        }
        // Return one of the constants if the media type is a known type.
        @SuppressWarnings("GetOrDefaultNotNull") // getOrDefault requires API Level 24
        MediaType result = firstNonNull(knownTypes.get(mediaType), mediaType);
        return result;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        map.put(1, 1);
        assertEquals(1, map.getOrDefault(1, 2));
        assertEquals(2, map.getOrDefault(2, 2));
      }
    
      public void testPutCausesExpansion() {
        for (int count = 1; count <= 100; count++) {
          LocalCache<Object, Object> map =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  3. 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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top