Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 401 for entrySet (0.08 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

            .addEqualityGroup(getMultiset())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
      }
    
      public void testHashCodeMatchesEntrySet() {
        assertEquals(getMultiset().entrySet().hashCode(), getMultiset().hashCode());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEqualsMultisetWithNullValue() {
        new EqualsTester()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

                return removeEntryIf(compose(not(in(c)), Entry::getKey));
              }
            };
          }
    
          @Override
          public Set<Entry<Range<K>, V>> entrySet() {
            return new Maps.EntrySet<Range<K>, V>() {
              @Override
              Map<Range<K>, V> map() {
                return SubRangeMapAsMap.this;
              }
    
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            final Map<String, Object> factoryParamMap = new HashMap<>();
            factory.setInitParameterMap(factoryParamMap);
    
            // parameters
            for (final Map.Entry<String, String> entry : paramMap.entrySet()) {
                final String key = entry.getKey();
                if (key.startsWith(CRAWLER_PARAM_PREFIX)) {
                    factoryParamMap.put(key.substring(CRAWLER_PARAM_PREFIX.length()), entry.getValue());
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            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.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        assertEquals(
            "multiset.count() should return the value passed to setCount()",
            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        assertEquals(
            "multiset.count() should return the value passed to setCount()",
            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/stream/StreamUtil.java

         */
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
            return new StreamOf<>(() -> map != null ? map.entrySet().stream() : Collections.<K, V> emptyMap().entrySet().stream());
        }
    
        /**
         * A wrapper class for a {@link Stream} that provides utility methods.
         *
         * @param <T> the type of elements in the stream
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().keySet()).isEqualTo(ImmutableSet.of(key1, key2));
          assertThat(cache.asMap().values()).containsExactly(value1, value2);
          assertThat(cache.asMap().entrySet())
              .containsExactly(immutableEntry(key1, value1), immutableEntry(key2, value2));
        }
      }
    
      public void testInvalidate() {
        for (LoadingCache<Key, String> cache : caches()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testToImmutableMultiset() {
        BiPredicate<ImmutableMultiset<String>, ImmutableMultiset<String>> equivalence =
            (ms1, ms2) -> ms1.equals(ms2) && ms1.entrySet().asList().equals(ms2.entrySet().asList());
        CollectorTester.of(ImmutableMultiset.<String>toImmutableMultiset(), equivalence)
            .expectCollects(ImmutableMultiset.of())
            .expectCollects(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            for (O option : options) {
                Optional<Map<String, String>> up = getter.apply(option);
                if (up.isPresent()) {
                    had++;
                    for (Map.Entry<String, String> entry : up.get().entrySet()) {
                        items.putIfAbsent(entry.getKey(), entry.getValue());
                    }
                }
            }
            return had == 0 ? Optional.empty() : Optional.of(Map.copyOf(items));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 26 17:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top