[Biojava-dev] Count.java, Distribution.java and Alignment.java

Schreiber, Mark mark.schreiber at agresearch.co.nz
Tue Feb 25 11:45:27 EST 2003


> > Finally, in Alignment.java, there are two methods, which use 
> > inconsitent container classes for the labels of the alignment.
> > 
> > java.util.List getLabels()
> > 
> > Alignment subAlignment(java.util.Set labels, Location loc)
> > 
> > so that to get a subAlignment over all labels, you have to 
> convert a 
> > List to a Set.
> 
> I think it's subAlignment that should be a List. 
> Unfortunately, we can't 
> fix this right now as it would change the API while we're 
> trying to get 
> the 1.3 release out of the door. Once 1.3 hits the street, 
> feel free to 
> change it (leave the old method in with a @deprecated for a while).

I'm not sure I care either way but I think a Set is more logical. I'm
assuming the labels should be unique.

- Mark


=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================



More information about the biojava-dev mailing list