Which datatype? NSMutableArray, Vector, Array ???
Which datatype? NSMutableArray, Vector, Array ???
- Subject: Which datatype? NSMutableArray, Vector, Array ???
- From: jacques couzteau <email@hidden>
- Date: Tue, 16 Sep 2003 23:04:06 +0200
hi,
what i had in mind, was to define a mutable list and initialise it in
one statement on a single line.
In perl i would simply say @myList =(12,11,13,0);
Order is important as well that the list has to be mutable. I also want
to comfortably iterate through it.
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?
thanks for your help.
__________
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.