|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeepCloneable
A DeepCloneable is a cloneable object that can be cloned shallowly (by
creating a copy of the object that contains references to the same
members as the original) or deeply (by creating a copy of the object
and of all it's member objects).
| Method Summary | |
|---|---|
Object |
clone()
Create a shallow clone of the object |
Object |
deepClone()
Create a deep clone of the object |
| Method Detail |
|---|
Object clone()
throws CloneNotSupportedException
CloneNotSupportedException
Object deepClone()
throws UnsupportedOperationException
UnsupportedOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||