Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyBeanToMap (0.09 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         *
         * @param src The source Bean. Must not be {@literal null}.
         * @param dest The destination {@literal Map}. Must not be {@literal null}.
         */
        public static void copyBeanToMap(final Object src, final Map<String, Object> dest) {
            copyBeanToMap(src, dest, DEFAULT_OPTIONS);
        }
    
        /**
         * Copies from a Bean to a {@literal Map}.
         *
         * @param src The source Bean. Must not be {@literal null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top