wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes java data structures Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java data structures" Watch "java data structures" New topic
Author

java data structures

Keith Lockey
Ranch Hand

Joined: Oct 05, 2001
Posts: 48
I am having trouble deciding how to use java datastructures. For example, I have to pull three fields from a table. The first field has duplicates but it needs to be the key field for the other two fields.
The first field is the name of a database table, and the second and third are the column names of the table, and the data types of the table.
Therefore, I need to make a hashmap that will accept duplicate keys??
Or is there some better way to do this. I wish I had a better handle on when to use certain data structures??


Thanks,<br />Keith
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

See if this helps: Click


Please ignore post, I have no idea what I am talking about.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java data structures
 
Similar Threads
how to map this using EJB3?
MySQL - Date/Time and Timestamp Issues
how to show records in jsp
Fetching ResultSet into Java Objects.
Design question