Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
put values in the TreeMap
Joined: Jan 10, 2007
Mar 23, 2007 04:46:00
How can I put
unique_number(key) , name(value), surname(value), addres(value)
those information into the
takes 1 key and 1 value at a time, what is the way to put more value in the map for a key?
Joined: Apr 14, 2004
Mar 23, 2007 05:06:00
No, Maps only support one value for a key. However, you can encapsulate your data in an object and store that instead of the three values.
rocket mass heater
subject: put values in the TreeMap
sorting the values using Hsh Map
Performing Math on Integer Class
Bubble Sort Set using Comparator
When we use treeMap and input duplicate Key... the overided value is displayed... why is it notin hm
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013