|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Copyable
Extends the java.lang.Cloneable interface to guarantee that clone () is public, rather than protected as defined by Object.
| Method Summary | |
|---|---|
Object |
clone()
Create a completely separate copy of this object and any mutable objects owned by the object. |
| Method Detail |
|---|
Object clone()
throws CloneNotSupportedException
NOTE: subclasses should not remove the CloneNotSupportedException throws clause if they themselves support subclassing: removing the CloneNotSupportedException declaration stops subclasses from indicating that a clone was not possible.
CloneNotSupportedException - if the clone failed or is not
possible.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||