KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > util > CloneableObject


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.util;
4
5 /**
6  * Since {@link Cloneable} is just a marker interface, it is not possible
7  * to clone different type of objects at once. This interface helps
8  * for user objects, but, obviously, it can't change JDK classes.
9  */

10 public interface CloneableObject extends Cloneable JavaDoc {
11
12     /**
13      * Performs instance cloning.
14      *
15      * @see Object#clone()
16      */

17     public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc;
18
19 }
20
Popular Tags