Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java data structures

 
Keith Lockey
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
William Barnes
Ranch Hand
Posts: 1007
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this helps: Click
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!