O - cloned object typepublic interface GlobalCloneBehavior<O> extends Serializable
supports(RecursiveClone, Object) provided objects.Clone| Modifier and Type | Method and Description |
|---|---|
O |
clone(RecursiveClone clone,
O object,
int depth)
Returns clone of the specified object.
|
boolean |
isStorable()
Return whether or not values cloned by this behavior are storable for recursive clone operation.
|
boolean |
supports(RecursiveClone clone,
Object object)
Returns whether or not this behavior supports cloning of the specified object.
|
boolean supports(@NotNull RecursiveClone clone, @NotNull Object object)
clone - RecursiveClone algorithmobject - object to clone, should never be nulltrue if this behavior supports cloning of the specified specified object, false otherwise@NotNull O clone(@NotNull RecursiveClone clone, @NotNull O object, int depth)
clone - RecursiveClone algorithmobject - object to clone, should never be nulldepth - clone calls stack depthboolean isStorable()
true if values cloned by this behavior are storable for recursive clone operation, false otherwiseCopyright © 2020. All rights reserved.