[Biojava-l] Last change to sequence package

Matthew Pocock mrp@sanger.ac.uk
Tue, 18 Jul 2000 17:33:07 +0100


Dear all,

The last change that I would like to make to the sequence package is to
replace

int StrandedFeature.POSITIVE
int StrandedFeature.NEGATIVE

with identicaly named StrandedFeature.Strand instances. This will make
them type-safe enums so you won't be able to do silly things like set
the strand to -17. This change will cascade through the StrandedTemplate
class and also the GFF package, so that there is a global model of
strandedness.

Hopefully, this should be a fix-by-recompiling change, unless you
explicitly set strands to +1 or -1 (which is exactly the sort of API
abuse that I wish to prevent).

Comments or flames to the list/me as always

Matthew

--
Joon: You're out of your tree
Sam:  It wasn't my tree
                                                 (Benny & Joon)