Package one.microstream.reflect
Class ReflectiveCopier.Default<S>
java.lang.Object
one.microstream.reflect.ReflectiveCopier.Default<S>
- All Implemented Interfaces:
ReflectiveCopier<S>
- Enclosing interface:
- ReflectiveCopier<S>
public static final class ReflectiveCopier.Default<S> extends Object implements ReflectiveCopier<S>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.reflect.ReflectiveCopier
ReflectiveCopier.Default<S> -
Method Summary
Modifier and Type Method Description <T extends S>
Tcopy(S sourceInstance, T targetInstance)CopyPredicatecopySelector()Predicate<? super Field>fieldSelector()<I extends Consumer<? super Field>>
IiterateFields(I iterator)Class<?>sourceClass()Does not necessarily have to be S.SsourceInstance()
-
Method Details
-
sourceClass
Description copied from interface:ReflectiveCopierDoes not necessarily have to be S. S could be an interface.- Specified by:
sourceClassin interfaceReflectiveCopier<S>
-
sourceInstance
- Specified by:
sourceInstancein interfaceReflectiveCopier<S>
-
fieldSelector
- Specified by:
fieldSelectorin interfaceReflectiveCopier<S>
-
copySelector
- Specified by:
copySelectorin interfaceReflectiveCopier<S>
-
iterateFields
- Specified by:
iterateFieldsin interfaceReflectiveCopier<S>
-
copy
- Specified by:
copyin interfaceReflectiveCopier<S>
-