Lacey Anderson

Greenhorn
+ Follow
since Apr 13, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Lacey Anderson

Thanks for the link. The book is a great resource. I actually ended up using a tree map and a compareTo method in my object definition. It worked great.
Thanks for the responses!
21 years ago
Please help. I am very new to java and trying to build a multidimensional array. I have two variables 1)item_name and 2)item_value. These are values that I obtain by looping through a database result set. I need to build and array that can hold these variables. Once the multidimensional array is built I need to be able to sort it by item value.
For example I would like to do something like this:
while (rs.next)
array.name = item_name
array.value = item_value
end
array.sort(value)

Thanks for any help!
21 years ago