net.sourceforge.esw.util
Interface ICloneable
- All Superinterfaces:
- java.lang.Cloneable
- All Known Subinterfaces:
- IMetaCollection, INode, IPropertyAggregator, IPropertySource
- All Known Implementing Classes:
- ListenerSupport
- public interface ICloneable
- extends java.lang.Cloneable
Provides a public mechanism to allow the cloning of an implementing object.
The cloning semantics are left to the implementor. The implementor should
explicitly state if the cloning is deep or shallow.
Method Summary |
java.lang.Object |
clone()
Creates and returns a clone of the implementing Object . |
clone
public java.lang.Object clone()
- Creates and returns a clone of the implementing
Object
. The
implementor defines whether the cloning is deep or shallow.
- Overrides:
clone
in class java.lang.Object
- Returns:
- a copy of the implementing
Object
.
Copyright 2002 Free Software Foundation. All Rights Reserved.