|
-
October 5th, 1999, 05:40 AM
#1
Does Java have collection classes? ie List and Array?
This is probably a dumb question, but are there any collection classes in Java?
I need an Array and List class (the List class is most urgent).
Thanks,
Tom.
-
October 5th, 1999, 06:00 AM
#2
Re: Does Java have collection classes? ie List and Array?
Java has support for arrays
e.g. 'int iArray[];'
And 'Vector' class can be used either as Array or as a List.
If u want a list which implements PUSH/POP operation or, u want to implement FIFO kind of a thing, u can subclass it and have a list class of ur own with much smaller code.
- UnicMan
http://members.tripod.com/unicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|