Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class implements the Cloneable
interface to
indicate to the Object.clone()
method that it
is legal for that method to make a
field-for-field copy of instances of that class.
Attempts to clone instances that do not implement the
Cloneable
interface result in the exception
CloneNotSupportedException
being thrown.
The interface Cloneable declares no methods.
CloneNotSupportedException
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |