A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Joined: Feb 05, 2010
Apr 20, 2010 07:32:32
I want to create a hashtable but I have two keys and one value.
means i have the unique pair of key to determine value.
Can you suggest me how to go for it?
I need an efficient solution.
Joined: Mar 20, 2007
Apr 20, 2010 08:57:02
1) Just create a class with the two keys as properties
2) use the class's objects as keys instead.
How to pass a Map as an object into Hashtable
How to send an Object of name value pairs to another Page
Passing object to excel spreadsheet
HashTable - performance issue for millions of values stored
How to use Hashtable in iterate tag of Struts JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013