public class Beans extends Object
| 构造器和说明 |
|---|
Beans() |
public static <T> BeanMapBuilder<T> newBeanMapBuilder(@Nonnull T bean)
public static <T> BeanMap<T> newBeanMap(@Nonnull T bean, @Nonnull Class<?> beanType, BeanMapOptions options)
public static <T> BeanMap<T> newBeanMap(@Nonnull T bean, BiFunction<Type,Object,Object> converter)
public static <T> T copyBean(@Nonnull Object source, @Nonnull Class<T> clazz, CopyOptions options)
public static <T> T copyBean(@Nonnull Object source, @Nonnull Supplier<T> targetSupplier, CopyOptions options)
public static void copyBean(@Nonnull Object source, @Nonnull Object target, @Nullable CopyOptions options)
public static Map<String,Object> newMapFromBean(@Nonnull Object bean, boolean isUnderlineCase, boolean ignoreNull)
public static Map<String,Object> newMapFromBean(@Nonnull Object bean, String... properties)
public static Map<String,Object> copyBeanToMap(@Nonnull Object bean, @Nonnull Map<String,Object> targetMap, boolean isUnderlineCase, boolean ignoreNull)
public static Map<String,Object> copyBeanToMap(@Nonnull Object bean, @Nonnull Map<String,Object> targetMap, boolean ignoreNull, @Nullable Function<String,String> keyMapping)
public static <T> PropertyBuilder<T> newPropertyBuilder(@Nonnull T dest)
public static <T> PropertyBuilder<T> newPropertyBuilder(@Nonnull Class<T> destType)
public static <T> PropertyBuilder<List<T>> newPropertyBuilder(@Nonnull List<T> list, @Nonnull Class<T> type)
public static <T> PropertyBuilder<List<T>> newPropertyBuilder(@Nonnull List<T> list, @Nonnull Class<T> type, int size)
public static void setProperty(@Nonnull Object bean, @Nonnull String name, Object value)
public static void setPathProperty(@Nonnull Object o, @Nonnull String property, Object val)
@Nullable public static <T> PropertyAccessor getIndexedPropertyAccessor(@Nonnull Class<T> beanType, @Nonnull String name)
@Nullable public static <T> PropertyAccessor getIndexedFieldAndPropertyAccessor(@Nonnull Class<T> beanType, @Nonnull String name)
@Nullable public static <T> PropertyAccessor getLambdaPropertyAccessor(@Nonnull Class<T> beanType, @Nonnull String name)
@Nullable public static <T> PropertyAccessor getLambdaFieldAndPropertyAccessor(@Nonnull Class<T> beanType, @Nonnull String name)
@Nonnull public static <T> Map<String,PropertyAccessor> getIndexedPropertyAccessors(@Nonnull Class<T> beanType)
@Nonnull public static <T> Map<String,PropertyAccessor> getIndexedFieldAndPropertyAccessors(@Nonnull Class<T> beanType)
@Nonnull public static <T> Map<String,PropertyAccessor> getLambdaPropertyAccessors(@Nonnull Class<T> beanType)
Copyright © 2025 fossc. All rights reserved.