- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for copyMapToNewMap (0.06 sec)
-
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* * @param src The source {@literal Map}. Must not be {@literal null}. * @return The newly copied {@literal Map}. */ public static Map<String, Object> copyMapToNewMap(final Map<String, ? extends Object> src) { return copyMapToNewMap(src, DEFAULT_OPTIONS); } /** * Copies the source {@literal Map} to a new instance of {@literal LinkedHashMap} and returns it. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
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 Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0)