MCPcopy Create free account
hub / github.com/PCGen/pcgen / clone

Method clone

code/src/java/pcgen/core/PObject.java:79–83  ·  view source on GitHub ↗

if a class implements the Cloneable interface then it should have a public" 'clone ()' method It should be declared to throw CloneNotSupportedException', but subclasses do not need the "throws" declaration unless their 'clone ()' method will throw the exception Thus subclasses can decide to not supp

()

Source from the content-addressed store, hash-verified

77 * @throws CloneNotSupportedException
78 */
79 @Override
80 public PObject clone() throws CloneNotSupportedException
81 {
82 return (PObject) super.clone();
83 }
84
85 /**
86 * Compares the keys of the object.

Calls

no outgoing calls