[BioCocoa-dev] Peptides...

Charles PARNOT charles.parnot at stanford.edu
Mon Mar 28 02:53:46 EST 2005

At 8:01 AM -0500 3/26/05, Koen van der Drift wrote:
>On Mar 26, 2005, at 3:11 AM, Charles PARNOT wrote:
>>Another option is to have a 'mutableSymbolArray' and 'symbolArray' methods.
>I like the mutableSymbolArray (or maybe mutableSymbolArrayCopy) 
>method. That should indeed return a new instance with which the the 
>user can do what she want. The symbolArray should just return a 
>pointer as it is right now (I already changed that in CVS).
>- Koen.

I did not see the change (did you commit?) so I made it while I was 
working on the final integration of sequence classes with symbol 
sets. I was not sure where to change the call to symbolArray into 
mutableSymbolArray, so that 'Peptides' runs fast?


NB: here are the methods

- (NSMutableArray *)mutableSymbolArray
	return symbolArray;

- (NSArray *)symbolArray
	return [[symbolArray copy] autorelease];

Help science go fast forward:

Charles Parnot
charles.parnot at stanford.edu

Room  B157 in Beckman Center
279, Campus Drive
Stanford University
Stanford, CA 94305 (USA)

Tel +1 650 725 7754
Fax +1 650 725 8021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20050327/8f8671fc/attachment.html>

More information about the Biococoa-dev mailing list