Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 658 for keyvalue (0.07 seconds)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

         */
        private static long mergeFrequency(final Map<String, Object> existingSource, final String fieldName, final long newValue) {
            final Object freqObj = existingSource.get(fieldName);
            if (freqObj == null) {
                return newValue;
            }
            return newValue + Long.parseLong(freqObj.toString());
        }
    
        /**
         * Concatenates new values into an existing list, avoiding duplicates.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        for (K key : sampleKeys()) {
          List<V> expectedValues = new ArrayList<>();
          for (Entry<K, V> entry : getSampleElements()) {
            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

        public BuildTimestampValueSource(Date startTime, String format) {
            super(false);
            this.startTime = startTime;
            this.format = format;
        }
    
        @Override
        public Object getValue(String expression) {
            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                if (formattedDate == null && startTime != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
            params.entrySet().stream().sorted(c).forEach(e -> {
                valueMap.put(e.getKey(), e.getValue().replace('\t', '_'));
            });
            log(valueMap);
        }
    
        /**
         * Log the value map.
         * @param valueMap The value map.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

                        .flatMap(
                            kv -> patterns.entrySet()
                                .stream()
                                .filter(p -> Pattern.compile(p.getValue()).matcher(kv.getValue()).find())
                                .map(p -> "- " + p.getKey() + " on line " + kv.getKey() + " of " + path)
                        )
                        .collect(Collectors.toList())
                );
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        final CrawlingInfoParam entity = new CrawlingInfoParam();
                        entity.setCrawlingInfoId(crawlingInfo.getId());
                        entity.setKey(list.get(2));
                        entity.setValue(list.get(3));
                        entity.setCreatedTime(formatter.parse(list.get(4)).getTime());
                        crawlingInfoParamBhv.insert(entity, op -> op.setRefreshPolicy(Constants.TRUE));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                          @SuppressWarnings("unchecked")
                          Entry<Range<Integer>, String> entry = (Entry<Range<Integer>, String>) o;
                          rangeMap.put(entry.getKey(), entry.getValue());
                        }
                        return rangeMap.asMapOfRanges();
                      }
    
                      @SuppressWarnings("unchecked")
                      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

      RegularImmutableBiMap(ImmutableMap<K, V> delegate) {
        super(delegate);
    
        ImmutableMap.Builder<V, K> builder = ImmutableMap.builder();
        for (Entry<K, V> entry : delegate.entrySet()) {
          builder.put(entry.getValue(), entry.getKey());
        }
        ImmutableMap<V, K> backwardMap = builder.build();
        this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 27 22:02:32 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            TestFessTransformer transformer = new TestFessTransformer();
            Map<String, Object> dataMap = new HashMap<>();
    
            transformer.putResultDataBody(dataMap, "newKey", "newValue");
    
            assertEquals("newValue", dataMap.get("newKey"));
            assertEquals(1, dataMap.size());
        }
    
        /**
         * Test putResultDataBody with null handling
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top