Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

Adding and sorting Hashmaps.

 
Keith Anderson
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am trying to create a treemap or hashmap that will sort items by there key.
Also I need it to add like key's.
------------

as an example John Doe is added twice.
Instead of adding up a total. it just replaces it.
I am guessing there is a significant amount of code I need to write.
I do not need this written out for me, I just am looking for the direction to go.


Thank you JavaRanch, and all of your people posting.


 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing this thread. Continue there.
 
    Bookmark Topic Watch Topic
  • New Topic