ome.util.mem
Interface Copiable

All Known Subinterfaces:
PlaneArea
All Known Implementing Classes:
CopiableArray, EllipseArea, Handle, RectangleArea

public interface Copiable

Requires an implementing class to provide deep copies of its instances. More precisely, an invocation of the copy method, such as y = x.copy(), is required to return an object y for which the following conditions hold true:

Note that a deep copy would satisfy the above conditions. However, a non-complete deep copy might comply with the above as well — for example immutable objects don't need to be copied.

Since:
OME2.2
Version:
2.2 (Internal version: $Revision: 1167 $ $Date: 2005/06/09 15:01:57 $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk,
Andrea Falconi      a.falconi@dundee.ac.uk

Method Summary
 Object copy()
          Makes a copy of this object.
 

Method Detail

copy

Object copy()
Makes a copy of this object. The implementation is required to stick to the copy semantics defined by this interface.

Returns:
The new object.


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.