TOC This Package Prev Next Index
public interface java.lang.Cloneable
{
}
A class implements the Cloneable interface in order to indicate to the clone method
(§1.12.2) in class Object 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 (§1.27) being thrown.
TOC This Package Prev Next Index