Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 318 for containsKey (0.06 seconds)

  1. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            assertEquals("ok", response.get("status"));
            assertEquals("session-123", response.get("sessionId"));
            assertEquals("Hello, world!", response.get("content"));
            assertFalse(response.containsKey("sources"));
        }
    
        @Test
        public void test_createSuccessResponse_withSources() {
            final List<ChatSource> sources = new ArrayList<>();
            final ChatSource source1 = new ChatSource();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            if (toolchains != null) {
                Map<String, List<ToolchainModel>> groupedToolchains = new HashMap<>(2);
    
                for (ToolchainModel model : toolchains.getToolchains()) {
                    if (!groupedToolchains.containsKey(model.getType())) {
                        groupedToolchains.put(model.getType(), new ArrayList<>());
                    }
    
                    groupedToolchains.get(model.getType()).add(model);
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

            List<BuildStep> firsts =
                    add.values().stream().filter(b -> b.predecessors.isEmpty()).toList();
            firsts.stream()
                    .filter(addNode -> !org.containsKey(addNode.name))
                    .forEach(addNode -> lasts.forEach(orgNode -> addNode.executeAfter(orgNode)));
            add.forEach((name, node) -> org.merge(name, node, this::merge));
            return org;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Primitives.java

       * Integer}.
       *
       * @see Class#isPrimitive
       */
      public static boolean isWrapperType(Class<?> type) {
        return WRAPPER_TO_PRIMITIVE_TYPE.containsKey(checkNotNull(type));
      }
    
      /**
       * Returns the corresponding wrapper type of {@code type} if it is a primitive type; otherwise
       * returns {@code type} itself. Idempotent.
       *
       * <pre>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

          for (int inI = 0, outI = 0; inI < n; inI++) {
            Entry<K, V> entry = requireNonNull(entryArray[inI]);
            K key = entry.getKey();
            if (duplicates.containsKey(key)) {
              V value = duplicates.get(key);
              if (value == null) {
                continue; // delete this duplicate
              }
              entry = new ImmutableMapEntry<>(key, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testMultimapReads() {
        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
        assertFalse(multimap.containsKey("cat"));
        assertTrue(multimap.containsValue(1));
        assertFalse(multimap.containsValue(5));
        assertTrue(multimap.containsEntry("foo", 1));
        assertFalse(multimap.containsEntry("cat", 1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            List<Element> duplicates = dependencies.stream()
                    .filter(dependency -> {
                        String key = createDependencyKey(dependency);
                        if (seenDependencies.containsKey(key)) {
                            context.detail("Fixed: Removed duplicate dependency: " + key + " in " + sectionName);
                            return true; // This is a duplicate
                        } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            projects: Map<String, ProjectInfo>,
            computedTargetRuntimes: Map<String, Map<TargetRuntime, Set<String>>>
        ) {
            val failures = projects
                .filter { (path, _) -> !computedTargetRuntimes.containsKey(path) }
                .filter { (path, _) -> projects.none { (_, value) -> value.details.dependencies.contains(path) } }
                .map { (path, info) -> "Project $path: ${info.buildFile.asClickableFileUrl()}" }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                    final String value = filetypeField + ":" + fileType;
                    if (!values.contains(value)) {
                        final String key = "labels.facet_filetype_" + fileType;
                        if (resources.containsKey(key)) {
                            queryMap.put(key, value);
                        } else {
                            queryMap.put(fileType.toUpperCase(Locale.ROOT), value);
                        }
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top