gnu.iou
Interface copy

All Superinterfaces:
java.lang.Cloneable

public interface copy
extends java.lang.Cloneable

A clone helper function for objects that would not be cloned when a container is cloneing itself, but necessarily need to be cloned in every case in order to preserve essential semantics for multiple users.

For example, "file" does not implement "copy" as the streams it returns from its API are never shared -- so "to clone or not" is left to the discretion of the clone implementor, while "urlc" which maintains stateful connection streams necessarily does need to be copied in every case.

Author:
John Pritchard (john@syntelos.org)

Method Summary
 java.lang.Object copy()
           
 

Method Detail

copy

public java.lang.Object copy()