|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.CloneableObject
A simple base-class for classes which need to be cloneable.
Nested Class Summary | |
static interface |
CloneableObject.Cloneable (src)
An interface which exposes a public clone method, unlike Object.clone() which is protected and throws
exceptions... |
Constructor Summary | |
CloneableObject()
|
Method Summary | |
java.lang.Object |
clone()
Clone the object via Object.clone() . |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CloneableObject()
Method Detail |
public java.lang.Object clone()
Object.clone()
. This will return
and object of the correct type, with all fields shallowly
cloned.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |