[Biococoa-dev] BCSequenceFactory

Alexander Griekspoor mek at mekentosj.com
Sat Dec 4 04:08:32 EST 2004


Op 4-dec-04 om 3:50 heeft Koen van der Drift het volgende geschreven:

>
> On Dec 2, 2004, at 1:49 AM, Alexander Griekspoor wrote:
>
>> Sometimes, you just want to know the type instead of getting the 
>> sequence back. In the documentation we can point the reader to the 
>> fact that if he want to have the sequence, there's the other method 
>> (and thus prevent him to do double work). Now I'm in the nitpicking 
>> mode anyway, the method name guidelines suggest to do something like:
>>
>> sequenceTypeForUntypedString: or sequenceTypeForUnknownString:
>> and
>> sequenceFromUntypedString: or sequenceFromUnknownString:
>>
>
>
> I added this method:
>
> - (BCSequenceType) sequenceTypeForUntypedString: (NSString *) string
> {
> 	return [[self sequenceFromUntypedString: string] sequenceType];
> }

In principle yes, great!

*********************************************************
                     ** Alexander Griekspoor **
*********************************************************
               The Netherlands Cancer Institute
               Department of Tumorbiology (H4)
          Plesmanlaan 121, 1066 CX, Amsterdam
                   Tel:  + 31 20 - 512 2023
                   Fax:  + 31 20 - 512 2029
                   AIM: mekentosj at mac.com
                   E-mail: a.griekspoor at nki.nl
               Web: http://www.mekentosj.com

                           Windows vs Mac
	65 million years ago, there were more
                      dinosaurs than humans.
	     Where are the dinosaurs now?

*********************************************************




More information about the Biococoa-dev mailing list