| | |
Can you use Strings as 'values' in a hashtable?
![]() |
0
#2 30 Days Ago
Strings can, of course be values in a hastable, but what does that have to do with the rest of the question?
What do you mean by "method generated Strings" and "plug them into another method"?
Also, whatever it is, HashMap would probably be a better choice than Hashtable, unless you have some specific reason for synchronizing access to it.
What do you mean by "method generated Strings" and "plug them into another method"?
Also, whatever it is, HashMap would probably be a better choice than Hashtable, unless you have some specific reason for synchronizing access to it.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
0
#3 30 Days Ago
Strings can, of course be values in a hastable, but what does that have to do with the rest of the question?
What do you mean by "method generated Strings" and "plug them into another method"?
Also, whatever it is, HashMap would probably be a better choice than Hashtable, unless you have some specific reason for synchronizing access to it.
What do you mean by "method generated Strings" and "plug them into another method"?
Also, whatever it is, HashMap would probably be a better choice than Hashtable, unless you have some specific reason for synchronizing access to it.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Oct 2009
Posts: 10
Reputation:
Solved Threads: 0
0
#4 30 Days Ago
•
•
•
•
Strings can, of course be values in a hastable, but what does that have to do with the rest of the question?
What do you mean by "method generated Strings" and "plug them into another method"?
Also, whatever it is, HashMap would probably be a better choice than Hashtable, unless you have some specific reason for synchronizing access to it.
Thanks
0
#5 25 Days Ago
I have no idea what you are talking about.
Maybe you should provide a bit of a sample of the data you start with and then a detailed explanation of what you are doing with it (showing the modifications to that data).
Maybe you should provide a bit of a sample of the data you start with and then a detailed explanation of what you are doing with it (showing the modifications to that data).
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- Working with palindromes (Java)
- Dates between the two given dates (Oracle)
- Read multiple column data from SQL query ( 1 row ) (ASP.NET)
- transfer of values from one method to another (Java)
- how use integer values begins with zero (Java)
- Python Sets? (Python)
- Chores Assignment Script (Python)
- Quick Basic Help Please! (C++)
- Subset of Hashtable... (Java)
- why can't you use a switch statment with a string? (C++)
Other Threads in the Java Forum
- Previous Thread: printing in passbook using swing
- Next Thread: how to output the result in jframe
| Thread Tools | Search this Thread |
3d 6 @param affinetransform android api applet application arc array arrays automation binary bluetooth bold byte c++ chat class client code color compare component coordinates database detection doctype eclipse eclipsedevelopment educational error file fractal froglogic game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide ideas image ingres input integer internet intersect j2me java java.xls javaexcel javaprojects jni jpanel jtextarea julia keytool keyword linux list map method methods mobile netbeans newbie nextline object pong problem producer program programming project projectideas read recursion recursive replaysolutions rim scanner sell server set size sms sort sql string swing terminal threads tree web websites windows






