[Biojava-dev] Flyweight Ontologies?

Schreiber, Mark mark.schreiber at agresearch.co.nz
Mon Nov 3 22:52:20 EST 2003


Hi -
 
Just looking at some serialization bug fixes and I have a question about Ontologies. Should they be flyweight objects?
 
The reason I ask is Ontology.Impl is serializable but doesn't attempt to prevent deep copying. However the Term.Impl equals() methods asks if the two Ontologies are canonical with an == operator.
 
One of these needs to be changed.
 
- Mark
 

=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================



More information about the biojava-dev mailing list