Package com.globalmentor.java
Interface CloneSupported
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
Count
Indicates that a class implements cloning.
This interface is needed because of the deficiencies of the standard Java Object.clone()
framework. This interface makes clone()
public
and guarantees that CloneNotSupportedException
will not be thrown, method signature notwithstanding.
- Author:
- Garret Wilson
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionclone()
This version is guaranteed not to throwCloneNotSupportedException
.
-
Method Details
-
clone
This version is guaranteed not to throwCloneNotSupportedException
.- Throws:
CloneNotSupportedException
-