T - the type of the copied object@ParametersAreNonnullByDefault @FunctionalInterface public interface Copier<T> extends BiConsumer<T,T>
BiConsumer able to copy an object to another of the same type.BiConsumer| Modifier and Type | Method and Description |
|---|---|
default void |
accept(T source,
T target) |
void |
copy(T source,
T target)
Copies all the contents from the
source to the target. |
andThenCopyright © 2017–2019 Atlanmod. All rights reserved.