[Biojava-l] Mutable Symbol Lists
Michael Heuer
heuermh at acm.org
Wed Sep 5 02:30:36 UTC 2007
Hello Philip,
If I remember correctly, the rub is that SymbolLists are mutable by
default (Changeable) but use ChangeListener.ALWAYS_VETO to provide a sort
of immutabilty.
It might be more efficient to have the implementation be truly immutable
by default and add mutabily in a separate implementation.
If you take a look at the number of classes that implement Changeable, you
might get a feel for how significant a design change this would be.
michael
On Wed, 5 Sep 2007, Mark Schreiber wrote:
> Hi Philip -
>
> SymbolLists are not mutable in the bean sense of the word but that can
> be modified by using the Edit object.
>
> An example is here: http://biojava.org/wiki/BioJava:Cookbook:Sequence:Edit
>
> Your ideas on a MutableSymbolList would be of interest though.
> Especially if you could implement it as a Bean.
>
> - Mark
>
> On 9/4/07, PhilipHeller at comcast.net <PhilipHeller at comcast.net> wrote:
> > Dear BioJava Community -
> >
> > I'm an experienced Java programmer/author and brand-new bioinformatics grad student.
> >
> > For one of my courses, I'm required to contribute to an open-source project. I'd like to contribute to BioJava. The tutorial mentions a future MutableSymbolList interface that would support modifying the underlying sequence data. I'd like to develop such an interface, plus an implementing class.
> >
> > Of course, I want my contribution to be useful. If anyone has suggestions, requests, strong feelings, or burning desires, I'd be grateful for any guidance you can provide.
> >
> > Regards,
> > Phil Heller
> > _______________________________________________
> > Biojava-l mailing list - Biojava-l at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/biojava-l
> >
> _______________________________________________
> Biojava-l mailing list - Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>
More information about the Biojava-l
mailing list