/*$************************************************************************************************
**
** $Id: Cloneable.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/util/Cloneable.java $
**
** Copyright (C) 2003-2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.util;
/**
* Indicates that it is legal to make a field-for-field copy of instances of implementing classes.
* A cloneable class implements the J2SE's {@link java.lang.Cloneable} standard interface and
* additionnaly overrides the {@link Object#clone()} method with public access.
*
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*
* @see java.lang.Cloneable
* @see "Cloneable
* doesn't define clone()" on Sun's bug parade
*/
public interface Cloneable extends java.lang.Cloneable {
/**
* Creates and returns a copy of this object.
* The precise meaning of "copy" may depend on the class of the object.
*
* @see Object#clone
*/
public Object clone();
}
Ads help maintain this website.