org.apache.geronimo.common
Class CloneableObject
java.lang.Object
org.apache.geronimo.common.CloneableObject
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- Counter, LongCounter
- public class CloneableObject
- extends Object
- implements Cloneable
A simple base-class for classes which need to be cloneable.
- Version:
- $Revision: 1.7 $ $Date: 2004/03/10 09:58:25 $
CloneableObject
public CloneableObject()
clone
public Object clone()
- Clone the object via
Object.clone()
. This will return
and object of the correct type, with all fields shallowly
cloned.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.