T - the generic type of class implementing this interfacepublic interface Copiable<T>
| Modifier and Type | Method and Description |
|---|---|
T |
copy()
Creates a new copy of
this instance. |
T copy()
this instance.
Each invocation to this method is expected to return a different instance. However, no guarantee is offered about the copy
being deep or shallow. That's up to each implementation.
Implementations are expected to be thread-safethis instanceCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.