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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 - [email protected] > > http://lists.open-bio.org/mailman/listinfo/biojava-l > > > _______________________________________________ > Biojava-l mailing list - [email protected] > http://lists.open-bio.org/mailman/listinfo/biojava-l > _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
