public interface Copyable extends Cloneable
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Override
Object.clone() to assign the public modifier. |
Object clone() throws CloneNotSupportedException
Object.clone()
to assign the public modifier.Object.clone()
CloneNotSupportedException
- If Cloneable
is not implemented. This should not
be possible when using this interface.When cloning is enabled, {@link #clone} is used for shallow copy
operations.
,
Cloneable
,
Object.clone()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.