Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 620 for putAll (0.04 seconds)

  1. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        multimap.put("foo", 3);
        multimap.put("bar", 1);
        multimap.putAll("foo", asList(-1, 2, 4));
        multimap.putAll("bar", asList(2, 3));
        multimap.put("foo", 1);
        TreeMultimap<String, Integer> copy =
            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
        copy.putAll(multimap);
        assertEquals(multimap, copy);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = new HashMap<>();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        return Maps.filterKeys(map, FILTER_KEYS);
                      }
                    })
                .named("Maps.filterKeys[Map, Predicate]")
                .withFeatures(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerStrongKeysWeakValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertThat(multimap.toString()).isEqualTo("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}");
      }
    
      public void testOrderedGet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerStrongKeysWeakValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/context/SingletonContext.java

                    }
                }
    
            } catch (final IOException ioe) {
                log.error("Failed to load config", ioe); //$NON-NLS-1$
            }
            p.putAll(System.getProperties());
            if (props != null) {
                p.putAll(props);
            }
            INSTANCE = new SingletonContext(p);
        }
    
        /**
         * Get singleton context
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertThat(multimap.toString()).isEqualTo("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}");
      }
    
      public void testOrderedGet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java

                synchronized (systemProperties) { // avoid concurrent modification if someone else sets/removes an unrelated
                    // system property
                    this.systemProperties.putAll(systemProperties);
                }
            } else {
                this.systemProperties = null;
            }
    
            return this;
        }
    
        @Override
        public Properties getUserProperties() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            Map<String, String> mergedProps = new HashMap<>();
            mergedProps.putAll(getPropertiesFromRequestedProfiles(request));
            mergedProps.putAll(new HashMap<String, String>((Map) request.getSystemProperties()));
            mergedProps.putAll(new HashMap<String, String>((Map) request.getUserProperties()));
            return mergedProps;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                sourceMap.put("name", name);
            }
            if (attributes != null) {
                sourceMap.putAll(attributes);
            }
            return sourceMap;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top