Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 318 for containsKey (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

        }
    
        private void checkFile(String name, String jarName, Map<String, Boolean> counters, String type) {
            String fileName = getFileName(name, counters, type);
    
            if (counters.containsKey(fileName) == false) {
                throw new GradleException("Missing " + type + " for " + jarName + ", expected in " + fileName);
            }
    
            counters.put(fileName, true);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            if (!docMap.containsKey(Constants.SCORE)) {
                final float score = searchHit.getScore();
                if (Float.isFinite(score)) {
                    docMap.put(Constants.SCORE, score);
                }
            }
    
            if (!docMap.containsKey(fessConfig.getIndexFieldId())) {
                docMap.put(fessConfig.getIndexFieldId(), searchHit.getId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

            return map.size();
        }
    
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        @Override
        public boolean add(final String o) {
            return map.put(o, PRESENT) == null;
        }
    
        @Override
        public boolean remove(final Object o) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/net/HttpHeadersTest.java

      }
    
      private static String upperToHttpHeaderName(
          String constantName,
          ImmutableBiMap<String, String> specialCases,
          ImmutableSet<String> uppercaseAcronyms) {
        if (specialCases.containsKey(constantName)) {
          return specialCases.get(constantName);
        }
        List<String> parts = new ArrayList<>();
        for (String part : Splitter.on('_').split(constantName)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
        table.row("b").subMap("b", "y").clear();
        assertEquals(table.row("b"), ImmutableMap.of());
        assertFalse(table.backingMap.containsKey("b"));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/StandardValueGraph.java

          throw new IllegalArgumentException("Node " + node + " is not an element of this graph.");
        }
        return connections;
      }
    
      final boolean containsNode(@Nullable N node) {
        return nodeConnections.containsKey(node);
      }
    
      private final boolean hasEdgeConnectingInternal(N nodeU, N nodeV) {
        GraphConnections<N, V> connectionsU = nodeConnections.get(nodeU);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            indexUpdateCallback.store(paramMap, dataMap);
    
            // When disabled, the fields should not be added
            assertFalse(dataMap.containsKey("click_count"));
            assertFalse(dataMap.containsKey("favorite_count"));
        }
    
        @Test
        public void test_store_withExistingDocId() {
            DataStoreParams paramMap = new DataStoreParams();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

        // This method is made package-private for testing purposes
        void applyResumptionProperties(MavenExecutionRequest request, Properties properties) {
            String str1 = request.getResumeFrom();
            if (properties.containsKey(REMAINING_PROJECTS) && !(str1 != null && !str1.isEmpty())) {
                String propertyValue = properties.getProperty(REMAINING_PROJECTS);
                Stream.of(propertyValue.split(PROPERTY_DELIMITER))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        @Override
        public boolean hasFieldDesc(final String fieldName) {
            assertArgumentNotEmpty("fieldName", fieldName);
    
            return fieldDescCache.containsKey(fieldName);
        }
    
        @Override
        public FieldDesc getFieldDesc(final String fieldName) {
            assertArgumentNotEmpty("fieldName", fieldName);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    StringBuilder message = new StringBuilder("Messages [");
                    boolean test = true;
                    for (int i = 0; i < 999; i++) {
                        boolean ok = output.containsKey("Progress (1): test-resource (" + i + "/999 B)");
                        if (!ok) {
                            System.out.println("false : " + i);
                            message.append(i + ",");
                        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top