[Biococoa-dev] BCSequenceFactory

Koen van der Drift kvddrift at earthlink.net
Fri Dec 3 21:50:27 EST 2004


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];
}


is that what you meant?


- Koen.




More information about the Biococoa-dev mailing list