- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for copyBeanToNewBean (0.07 sec)
-
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* @return コピーされた新しいBean */ public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) { return copyBeanToNewBean(src, destClass, DEFAULT_OPTIONS); } public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass, final Consumer<CopyOptions> option) { return copyBeanToNewBean(src, destClass, 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) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
* @throws Exception */ @Test public void testCopy_beanToNewBean() throws Exception { final MyBean src = new MyBean(); src.aaa = "aaa"; final MyBean dest = BeanUtil.copyBeanToNewBean(src, MyBean.class); assertThat(dest.aaa, is("aaa")); } /** * @throws Exception */ @Test public void testCopy_beanToNewMap() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0)