|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
y
is the same as the state of x
.w
referenced by y
is the same as the corresponding object referenced by x
, and
so on recursively for every object referenced by w
.y
or, recursively, in any
other object referenced by y
, is not going to affect
x
or recursively, any other object referenced by
x
.
Method Summary | |
---|---|
Object |
copy()
Makes a copy of this object. |
Method Detail |
---|
Object copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.