Re: Which datatype? NSMutableArray, Vector, Array ???
Re: Which datatype? NSMutableArray, Vector, Array ???
- Subject: Re: Which datatype? NSMutableArray, Vector, Array ???
- From: Kaj Hejer <email@hidden>
- Date: Tue, 16 Sep 2003 23:32:59 +0200
At 23:04 +0200 16-09-2003, jacques couzteau wrote:
I tried to find a way to do this with NSMutableArray and Vector and was
quite surprised that these structures don't store integers. Then i
found ou that i can define an Array in Java like this:
int [] myIndices = new int [] { 12,11,13,0 };
but an array like this doesn't provide the enumerator functionality.
What is the easiest and appropriate way to do this?
Hi!
You might just pass that array you make to the constructor of
NSMutableArray like
NSMutableArray myarray = new NSMutableArray ( new int [] { 12,11,13,0 } );
-Kaj :)
_______________________________________________
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.