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.
Printable View
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.
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