Forums Register Login

two dimension array

+Pie Number of slices to send: Send


hello sir,

i have two dimension. i want to store elements which are of arraylist format. that is each element in the two dimension are arraylist. i'm waiting..
+Pie Number of slices to send: Send
Not a good idea to try putting generic classes into arrays.

It is however easy enough to create a List<List><Foo>> or even a List<List><List><Foo>>>.

By the way: There is no such thing as a 2-D array in Java. Only an array of arrays.
You don't like waffles? Well, do you like this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 959 times.
Similar Threads
array of arrays with arraylist
how to create multidim arraylist and access it
Java IO, 1.2cert, appreciate u r help
multi dimension array
arrays with arraylist
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:08:01.