[Biojava-dev] Feature Templates

Len Trigg len at reeltwo.com
Sun Sep 7 23:55:43 EDT 2003


Mark Schreiber wrote:
> I think that a copy is better than a reference. The question is
> would a shallow copy be OK or should it be a deep copy?

I have changed the SimpleFeature constructor so that rather than
directly referencing the template annotation, it uses the existing
SimpleAnnotation(Annotation) constructor. If deep copies are the way
to go, it should probably happen in that constructor. 

BTW: SimpleFeature could do with a pretty printer running over
it... Are there BioJava coding conventions? (I've been going with the
flow of whichever file I've been editing.)


Cheers,
Len.



More information about the biojava-dev mailing list