[Biojava-dev] [Biojava-l] BioJava Hackathon - Day 1

Michael Heuer heuermh at acm.org
Tue Jan 19 05:02:28 UTC 2010


On Mon, 18 Jan 2010, Richard Holland wrote:

> ...
>
> Also by making the new SymbolList implement the standard List
> interface from Collections, it can be used in nice Java shortcuts such
> as the new foreach loops, and standard iterators can be used (instead of
> the current SymbolListIterator method). Collections API can also be used
> then to do things like subsets or reverses.

Is this a good idea?  It might preclude some efficient implementation
strategies, such as ParallelArray from JSR166

http://gee.cs.oswego.edu/dl/jsr166/dist/extra166ydocs/extra166y/ParallelArray.html

Would Iterable be sufficient enough?

Also, List indexing is not compatible with typical sequence feature
indexing.

   michael




More information about the biojava-dev mailing list