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.