Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         *
         * @param src The source Bean. Must not be {@literal null}.
         * @return The newly copied Bean.
         */
        public static Map<String, Object> copyBeanToNewMap(final Object src) {
            return copyBeanToNewMap(src, DEFAULT_OPTIONS);
        }
    
        /**
         * Copies the source Bean 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)
  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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. README.md

    BeanUtil.copyBeanToBean(source, destination);
    BeanUtil.copyBeanToBean(source, destination, options -> 
        options.exclude("password", "internalId"));
    
    // Convert between beans and maps
    Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean);
    MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class);
    ```
    
    ### Type Conversion
    ```java
    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top