Intended style to use for cloning when using the @
AutoClone annotation.
Enum constant | Description |
---|---|
CLONE |
Uses only cloning. |
COPY_CONSTRUCTOR |
Uses the copy constructor pattern. |
SERIALIZATION |
Uses serialization to clone. |
SIMPLE |
Uses the no-arg constructor followed by property/field copying/cloning. |
Uses only cloning.
Uses the copy constructor pattern.
Uses serialization to clone.
Uses the no-arg constructor followed by property/field copying/cloning.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.