Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 207 for containsKey (0.04 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigIntegerMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
                .that(unnecessaryShouldThrow)
                .isTrue();
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

                Map<String, String[]> paramMap = new HashMap<>(parameters);
                for (Map.Entry<String, String> entry : singleParameters.entrySet()) {
                    if (!paramMap.containsKey(entry.getKey())) {
                        paramMap.put(entry.getKey(), new String[] { entry.getValue() });
                    }
                }
                return paramMap;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                    capturedInfo.put(key, value);
                }
            };
    
            crawler.writeTimeToSessionInfo(helper, "test-key");
            assertTrue(capturedInfo.containsKey("test-key"));
            assertNotNull(capturedInfo.get("test-key"));
        }
    
        public void test_writeTimeToSessionInfo_withNullHelper() {
            // Should not throw exception
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

            // var oldValue = map.get(keyToRemove);
            map.remove(keyToRemove);
            // This line doesn't hold - see the Javadoc comments above.
            // assertEquals(expectedValue, oldValue);
            assertFalse(map.containsKey(keyToRemove));
            assertEquals(initialSize - 1, map.size());
          } else {
            assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
          }
          assertInvariants(map);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

        }
    
        @Override
        void visitWildcardType(WildcardType t) {
          visit(t.getUpperBounds());
        }
    
        private void map(TypeVariableKey var, Type arg) {
          if (mappings.containsKey(var)) {
            // Mapping already established
            // This is possible when following both superClass -> enclosingClass
            // and enclosingclass -> superClass paths.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
        checkArgument(type != implementation, "Don't register %s to itself!", type);
        checkArgument(
            !DEFAULTS.containsKey(type), "A default value was already registered for %s", type);
        checkArgument(
            implementations.put(type, implementation) == null,
            "Implementation for %s was already registered",
            type);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                        final String docId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class);
                                        if (id != null && docId != null && clickCountMap.containsKey(docId)) {
                                            final Integer count = clickCountMap.get(docId);
                                            final Script script = ComponentUtil.getLanguageHelper()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * access. Access time is reset by all cache read and write operations (including {@code
       * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code
       * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So,
       * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for
       * the entries you retrieve.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    if (doc.get(idField) instanceof final String id) {
                        final float score = 1.0f / (rankConstant + j);
                        if (scoreDocMap.containsKey(id)) {
                            final Map<String, Object> baseDoc = scoreDocMap.get(id);
                            final float oldScore = toFloat(baseDoc.get(scoreField));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                for (final Path path : deletedFileList) {
                    final String docId = getDocId(path);
                    if (StringUtil.isBlank(docId) || deleteFileMap.containsKey(docId)) {
                        deleteFile(path);
                    } else {
                        deleteFileMap.put(docId, path);
                    }
                }
                deletedFileList.clear();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top