Re: Which datatype? NSMutableArray, Vector, Array ???
Re: Which datatype? NSMutableArray, Vector, Array ???
- Subject: Re: Which datatype? NSMutableArray, Vector, Array ???
- From: Pierre Frisch <email@hidden>
- Date: Tue, 16 Sep 2003 16:18:45 -0700
If you do this often you may want to create a sub class of
NSMutableArray
Pierre
On Tuesday, September 16, 2003, at 03:28 PM, jacques couzteau wrote:
You might just pass that array you make to the constructor of
NSMutableArray like
NSMutableArray myarray = new NSMutableArray ( new int [] {
12,11,13,0 } );
Except you can't put 'int's, or any other primitive types, in an
NSArray. You would need to put Integer objects there instead. Which
would lead to the even more bizarre line:
NSMutableArray myarray = new NSMutableArray( new Integer[] { new
Integer(12), new Integer(11), new Integer(13), new Integer(0) } );
thanks guys. yes it is bizarre. so it shall be ;)
jacques
__________
OSX 10.2.6 /
mysql 4.0.14-standard
WO 5.2.1
mysql-connector-java-3.0.8-stable-bin.jar
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.