Jake Boxer

Greenhorn
+ Follow
since Oct 15, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jake Boxer

Is there a data structure in Java (built in) that works like a table? Something where you could dynamically add rows and columns, and have both indexed by name?

I know I can create an array of arrays, but I'm interested in something that would allow me to specify a row and column name, and find a value at that index.

For example, in row "Bob", at column "Age", I could find the value 18. This works a lot like a database table, except for my purposes, I only need to index by Strings (both for rows and columns), and I only need the values to be ints.
16 years ago