Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for copyBeanToNewMap (0.12 sec)

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

         * @return コピーされた新しいBean
         */
        public static Map<String, Object> copyBeanToNewMap(final Object src) {
            return copyBeanToNewMap(src, DEFAULT_OPTIONS);
        }
    
        public static Map<String, Object> copyBeanToNewMap(final Object src, final Consumer<CopyOptions> option) {
            return copyBeanToNewMap(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/main/java/org/codelibs/fess/util/RenderDataUtil.java

            if (value == null) {
                return;
            }
    
            if (value instanceof Entity) {
                data.register(key, BeanUtil.copyBeanToNewMap(value));
            } else {
                if (value instanceof final Collection<?> coll && !coll.isEmpty()) {
                    // care performance for List that the most frequent pattern
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            src.aaa = "aaa";
            @SuppressWarnings("unchecked")
            final Map<String, Object> dest = BeanUtil.copyBeanToNewMap(src, HashMap.class);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            final BeanMap dest2 = BeanUtil.copyBeanToNewMap(src, BeanMap.class);
            assertThat(dest2.get("aaa"), is((Object) "aaa"));
        }
    
        /**
         * @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)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            @SuppressWarnings("unchecked")
            final Map<String, Object> source = obj instanceof Map ? (Map<String, Object>) obj : BeanUtil.copyBeanToNewMap(obj);
            final String id = (String) source.remove(fessConfig.getIndexFieldId());
            source.remove(fessConfig.getIndexFieldVersion());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top