User 07eebf78ca
20-12-2004 08:27:12
Hi,
I have a Molecule a. I call a.getDocument() and the returned value is non null. Then
I call Molecule b = (Molecule) a.clone(). After doing that, if I call b.clone(), the return value is null. That doesn't seem to be a clone! The Molecule a is actually obtained from MolImporter like this:
What should I do so that b.getDocument() return a non-null value? Please reply ASAP.
Thanks,
Sarav
I have a Molecule a. I call a.getDocument() and the returned value is non null. Then
I call Molecule b = (Molecule) a.clone(). After doing that, if I call b.clone(), the return value is null. That doesn't seem to be a clone! The Molecule a is actually obtained from MolImporter like this:
Code: |
Molecule a = (Molecule) MolImported.importMol(somestring); |
What should I do so that b.getDocument() return a non-null value? Please reply ASAP.
Thanks,
Sarav