T - cloned object typepublic interface CloneBehavior<T> extends Cloneable
Clone| Modifier and Type | Method and Description |
|---|---|
T |
clone(RecursiveClone clone,
int depth)
Returns cloned instance of the object implementing
CloneBehavior. |
@NotNull T clone(@NotNull RecursiveClone clone, int depth)
CloneBehavior.clone - RecursiveClone algorithmdepth - clone calls stack depthCloneBehaviorCopyright © 2020. All rights reserved.