[Biojava-l] Possible minor change before 1.0
Simon Brocklehurst
simon.brocklehurst@CambridgeAntibody.com
Fri, 30 Jun 2000 17:53:04 +0100
Thomas Down wrote:
> Would people object to me changing a method in SequenceIterator
> as follows
>
> public Sequence nextSequence();
>
> to
>
> public Sequence next();
>
> Let me know if this is going to cause big problems, or if
> you object to this (ab)use of the iterator pattern.
Any reason not to simply deprecate nextSequence() and add next() ?
One of the advantages of Java for developing apis is that you don't
actually have to keep breaking code, especially for this kind of
"tidying up" of method names.
Simon
--
Simon M. Brocklehurst, Ph.D.
Head of Bioinformatics & Advanced IS
Cambridge Antibody Technology
The Science Park, Melbourn, Cambridgeshire, UK
http://www.CambridgeAntibody.com/
mailto:simon.brocklehurst@CambridgeAntibody.com