Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.util
Class CloneableObject

    java.lang.Object
      org.jboss.util.CloneableObject

All Implemented Interfaces:
  Cloneable

public class CloneableObject
extends Object
implements Cloneable

A simple base-class for classes which need to be cloneable.

Version:
  `$Revision: 1.2 $`
Author:
  Jason Dillon

Nested Class Summary
`static interface` | `CloneableObject.Cloneable` An interface which exposes a public clone method, unlike `Object.clone()` which is protected and throws exceptions...

Constructor Summary
`CloneableObject()`

Method Summary
`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

### CloneableObject

    public CloneableObject()

Method Detail

### clone

    public Object clone()

  Clone the object via `Object.clone()`. This will return and object of the correct type, with all fields shallowly cloned.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.