java.lang
Interface Cloneable


public interface Cloneable

This (empty) interface should be implemented by all classes which wish to support cloning. The implementation of clone in class Object checks to ensure that the object being cloned implements this interface, and throws CloneNotSupportedException if not.

See Also:
Object#clone, CloneNotSupportedException