Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 361 for entrySet (0.06 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

      static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsCharSource) {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          } else {
            suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> putAll(Map<? extends Class<? extends T>, ? extends T> map) {
          for (Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet()) {
            Class<? extends T> type = entry.getKey();
            T value = entry.getValue();
            mapBuilder.put(type, cast(type, value));
          }
          return this;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                        if (m != null && !m.isEmpty()) {
                                            for (Map.Entry<Object, Object> entry : m.entrySet()) {
                                                Object value = entry.getValue();
    
                                                if (value != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K key = entry.getKey();
          V value = entry.getValue();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K key = entry.getKey();
          V value = entry.getValue();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                if (fieldLogMap != null) {
                    final int queryMaxLength = fessConfig.getQueryMaxLengthAsInteger();
                    for (final Map.Entry<String, List<String>> logEntry : fieldLogMap.entrySet()) {
                        for (final String value : logEntry.getValue()) {
                            searchLog.addSearchFieldLogValue(logEntry.getKey(), StringUtils.abbreviate(value, queryMaxLength));
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAllSomePresentConcurrentWithEntrySetIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              putAll(MinimalCollection.of(e3(), e0()));
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

        }
    
        private static Map<String, String> toMap(Properties properties) {
            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
                        .collect(Collectors.toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())));
    
            } else {
                return null;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                }
            }
    
            if (infoMap != null) {
                final List<CrawlingInfoParam> crawlingInfoParamList = new ArrayList<>();
                for (final Map.Entry<String, String> entry : infoMap.entrySet()) {
                    final CrawlingInfoParam crawlingInfoParam = new CrawlingInfoParam();
                    crawlingInfoParam.setCrawlingInfoId(crawlingInfo.getId());
                    crawlingInfoParam.setKey(entry.getKey());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        }
    
        public void test() {
          assertThat(expectedValues.keySet())
              .containsAtLeastElementsIn(EnumSet.complementOf(EnumSet.of(UNNECESSARY)));
          for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) {
            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigDecimalMath.roundToDouble(input, mode))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top