Module com.remondis.remap
Class BiRecursivePropertyWalker<R,T>
- java.lang.Object
-
- com.remondis.remap.utils.propertywalker.BiRecursivePropertyWalker<R,T>
-
- Type Parameters:
R- The root bean type.T- The bean type.
public class BiRecursivePropertyWalker<R,T> extends Object
Class that provides a way to recursively tree-walk over specified properties.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <P> BiRecursivePropertyWalker<R,T>addProperty(Function<T,P> propertyExtractor, BiConsumer<T,P> propertyWriter, VisitorFunction<T,P> biConsumer)BiRecursivePropertyWalker<R,R>build()static <T> BiRecursivePropertyWalker<T,T>create(Class<T> beanType)voidexecute(T source, T target)<TT> BiRecursivePropertyWalker<R,TT>goInto(Function<T,TT> propertyExtractor, BiConsumer<T,TT> propertyWriter, Class<TT> beanType)
-
-
-
Method Detail
-
goInto
public <TT> BiRecursivePropertyWalker<R,TT> goInto(Function<T,TT> propertyExtractor, BiConsumer<T,TT> propertyWriter, Class<TT> beanType)
-
addProperty
public <P> BiRecursivePropertyWalker<R,T> addProperty(Function<T,P> propertyExtractor, BiConsumer<T,P> propertyWriter, VisitorFunction<T,P> biConsumer)
-
create
public static <T> BiRecursivePropertyWalker<T,T> create(Class<T> beanType)
-
build
public BiRecursivePropertyWalker<R,R> build()
-
-