Package java.lang
Interface Cloneable
-
- All Known Subinterfaces:
AclEntry,AttributedCharacterIterator,CertPathBuilderResult,CertPathParameters,CertPathValidatorResult,CertSelector,CertStoreParameters,CharacterIterator,CRLSelector,Freezable<T>,Selector<T>
public interface CloneableThis (empty) interface must be implemented by all classes that wish to support cloning. The implementation ofclone()inObjectchecks if the object being cloned implements this interface and throwsCloneNotSupportedExceptionif it does not.- See Also:
Object.clone(),CloneNotSupportedException