Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 620 for putAll (0.04 seconds)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            } else if (targetLocations == null) {
                locations = sourceLocations;
            } else {
                locations = new java.util.LinkedHashMap();
                locations.putAll(sourceDominant ? targetLocations : sourceLocations);
                locations.putAll(sourceDominant ? sourceLocations : targetLocations);
            }
            result.setLocations(locations);
    
            return result;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

                sourceMap.put("groups", groups);
            }
            if (roles != null) {
                sourceMap.put("roles", roles);
            }
            if (attributes != null) {
                sourceMap.putAll(attributes);
            }
            return sourceMap;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java

        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            final Map<String, List<String>> searchFieldMap = searchFieldLogList.stream()
                    .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/HashBasedTable.java

       *     null
       */
      public static <R, C, V> HashBasedTable<R, C, V> create(
          Table<? extends R, ? extends C, ? extends V> table) {
        HashBasedTable<R, C, V> result = create();
        result.putAll(table);
        return result;
      }
    
      private HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) {
        super(backingMap, factory);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/HashBasedTable.java

       *     null
       */
      public static <R, C, V> HashBasedTable<R, C, V> create(
          Table<? extends R, ? extends C, ? extends V> table) {
        HashBasedTable<R, C, V> result = create();
        result.putAll(table);
        return result;
      }
    
      private HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) {
        super(backingMap, factory);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

         */
        @Test
        public void testPutAll() throws Exception {
            final Map<String, String> m = new HashMap<String, String>();
            m.put("three", "3");
            m.put("four", "4");
            map.putAll(m);
            assertThat(map.get("THREE"), is("3"));
            assertThat(map.get("FOUR"), is("4"));
            assertThat(map.size(), is(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/EnumHashBiMap.java

       */
      public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create(
          Map<K, ? extends V> map) {
        EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyTypeOrObjectUnderJ2cl(map));
        bimap.putAll(map);
        return bimap;
      }
    
      private EnumHashBiMap(Class<K> keyType) {
        super(new EnumMap<K, V>(keyType), new HashMap<V, K>());
        // TODO: cpovirk - Pre-size the HashMap based on the number of enum values?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        }
    
        // add a follow-up plan to this one
        public void then(BuildPlan step) {
            step.plan.forEach((k, v) -> plan.merge(k, v, this::merge));
            aliases.putAll(step.aliases);
        }
    
        private Map<String, BuildStep> merge(Map<String, BuildStep> org, Map<String, BuildStep> add) {
            // all new phases should be added after the existing ones
            List<BuildStep> lasts =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/Config.java

         *
         * @param prp the properties to set
         */
        public static void setProperties(final Properties prp) {
            Config.prp = new Properties(prp);
            try {
                Config.prp.putAll(System.getProperties());
            } catch (final SecurityException se) {
                if (LogStream.level > 1) {
                    log.println("SecurityException: jcifs.smb1 will ignore System properties");
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsPut) {
          int initialSize = map.size();
          map.putAll(mapToPut);
          assertEquals(valueToPut, map.get(keyToPut));
          assertTrue(map.containsKey(keyToPut));
          assertTrue(map.containsValue(valueToPut));
          assertEquals(initialSize + 1, map.size());
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.putAll(mapToPut));
        }
        assertInvariants(map);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
Back to Top