Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyBeanToMap (0.17 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            BeanUtil.copyBeanToMap(bean, map, converter(new NumberConverter("#,##0")));
            assertEquals("1,000", map.get("aaa"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToMap_converter2() throws Exception {
            final Bean bean = new Bean();
            bean.aaa = "1,000";
            final Map<String, Object> map = newHashMap();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         */
        public static void copyBeanToMap(final Object src, final Map<String, Object> dest) {
            copyBeanToMap(src, dest, DEFAULT_OPTIONS);
        }
    
        public static void copyBeanToMap(final Object src, final Map<String, Object> dest, final Consumer<CopyOptions> option) {
            copyBeanToMap(src, dest, 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)
Back to top