<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [BioCocoa-dev] Peptides...</title></head><body>
<div>At 8:01 AM -0500 3/26/05, Koen van der Drift wrote:</div>
<blockquote type="cite" cite>On Mar 26, 2005, at 3:11 AM, Charles
PARNOT wrote:<br>
<blockquote type="cite" cite>Another option is to have a
'mutableSymbolArray' and 'symbolArray' methods.<br>
</blockquote>
</blockquote>
<blockquote type="cite" cite><br>
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).<br>
<br>
<br>
- Koen.</blockquote>
<div><br></div>
<div>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?</div>
<div><br></div>
<div>charles</div>
<div><br></div>
<div>NB: here are the methods</div>
<div><br></div>
<div><tt><font size="+1" color="#000000">- (NSMutableArray
*)mutableSymbolArray<br>
{<br>
<x-tab> </x-tab></font><font size="+1"
color="#760F50">return</font><font size="+1" color="#000000">
symbolArray;<br>
}<br>
<br>
- (NSArray *)symbolArray<br>
{<br>
<x-tab>   </x-tab></font><font size="+1"
color="#760F50">return</font><font size="+1" color="#000000">
[[symbolArray copy] autorelease];<br>
}</font></tt></div>
<div><br></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>Help science go fast forward:<br>
http://cmgm.stanford.edu/~cparnot/xgrid-stanford/<br>
<br>
Charles Parnot<br>
charles.parnot@stanford.edu<br>
<br>
Room  B157 in Beckman Center<br>
279, Campus Drive<br>
Stanford University<br>
Stanford, CA 94305 (USA)<br>
<br>
Tel +1 650 725 7754<br>
Fax +1 650 725 8021</div>
</body>
</html>