Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getOrDefault (0.05 sec)

  1. 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)
  2. 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