Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyMapToNewMap (0.14 sec)

  1. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         * @return コピーされた新しい{@literal Map}
         */
        public static Map<String, Object> copyMapToNewMap(final Map<String, ? extends Object> src) {
            return copyMapToNewMap(src, DEFAULT_OPTIONS);
        }
    
        public static Map<String, Object> copyMapToNewMap(final Map<String, ? extends Object> src, final Consumer<CopyOptions> option) {
            return copyMapToNewMap(src, buildCopyOptions(option));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            src.put("aaa", "aaa");
            @SuppressWarnings("unchecked")
            final Map<String, Object> dest = BeanUtil.copyMapToNewMap(src, HashMap.class);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            final BeanMap dest2 = BeanUtil.copyMapToNewMap(src, BeanMap.class);
            assertThat(dest2.get("aaa"), is((Object) "aaa"));
        }
    
        /**
         *
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top