public interface ILcdCloneable extends Cloneable
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Makes
Object.clone() public. |
Object clone()
Makes Object.clone()
public.
java.lang.Object
, it can be implemented like this:
public Object clone() {
try {
return super.clone();
} catch ( CloneNotSupportedException e ) {
// Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
throw new RuntimeException( e );
}
}
Object.clone()