Click here to Skip to main content
15,915,508 members
Home / Discussions / Java
   

Java

 
GeneralRe: Some exception Problem Pin
David Skelly6-Jan-10 1:53
David Skelly6-Jan-10 1:53 
GeneralRe: Some exception Problem Pin
Richard MacCutchan6-Jan-10 2:03
mveRichard MacCutchan6-Jan-10 2:03 
GeneralRe: Some exception Problem Pin
David Skelly6-Jan-10 2:03
David Skelly6-Jan-10 2:03 
GeneralRe: Some exception Problem Pin
Richard MacCutchan6-Jan-10 2:17
mveRichard MacCutchan6-Jan-10 2:17 
GeneralRe: Some exception Problem Pin
002comp6-Jan-10 19:08
002comp6-Jan-10 19:08 
QuestionClient-Server Pin
Gjm4-Jan-10 1:19
Gjm4-Jan-10 1:19 
AnswerRe: Client-Server Pin
Nagy Vilmos4-Jan-10 2:03
professionalNagy Vilmos4-Jan-10 2:03 
QuestionFlexigrid with JSP/Servlet Pin
pdoy07083-Jan-10 14:19
pdoy07083-Jan-10 14:19 
Questionmy validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 5:16
karengsh30-Dec-09 5:16 
AnswerRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan30-Dec-09 5:44
mveRichard MacCutchan30-Dec-09 5:44 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 6:31
karengsh30-Dec-09 6:31 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 6:38
karengsh30-Dec-09 6:38 
GeneralRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan30-Dec-09 11:01
mveRichard MacCutchan30-Dec-09 11:01 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 16:05
karengsh30-Dec-09 16:05 
GeneralRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan30-Dec-09 23:58
mveRichard MacCutchan30-Dec-09 23:58 
QuestionHashMap Pin
002comp29-Dec-09 22:55
002comp29-Dec-09 22:55 
AnswerRe: HashMap Pin
Richard MacCutchan29-Dec-09 23:16
mveRichard MacCutchan29-Dec-09 23:16 
GeneralRe: HashMap Pin
002comp30-Dec-09 18:01
002comp30-Dec-09 18:01 
GeneralRe: HashMap Pin
Cedric Moonen30-Dec-09 23:16
Cedric Moonen30-Dec-09 23:16 
First thing: as already mentioned a LOT of times, please format your code properly. Take some time to make your message readable and understandable, you will definitively get much more answers.
Second point, the previous poster asked you about which runtime error you receive. You still didn't provide that information.

Now concerning your problem: why do you iterate over the keys if you need the values D'Oh! | :doh: ? Instead of doing this:
Iterator itr = hmap.keySet().Iterator();


Do this:
Iterator itr = hmap.values().Iterator();


This way you will iterate over the values of your map. You will still need to cast your object to the correct type if you didn't use generics when declaring your map.


yogeshs wrote:
I want to tell that hmap is having two parameters:
hmap


Confused | :confused: I don't get that part of your message. Could you please clarify what you are trying to do ?

Cédric Moonen
Software developer

Charting control [v3.0 - Updated]
OpenGL game tutorial in C++

GeneralRe: HashMap Pin
002comp30-Dec-09 23:48
002comp30-Dec-09 23:48 
QuestionError Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
karengsh29-Dec-09 0:28
karengsh29-Dec-09 0:28 
AnswerRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
Richard MacCutchan29-Dec-09 4:39
mveRichard MacCutchan29-Dec-09 4:39 
GeneralRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
karengsh30-Dec-09 5:06
karengsh30-Dec-09 5:06 
GeneralRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
Richard MacCutchan30-Dec-09 5:41
mveRichard MacCutchan30-Dec-09 5:41 
QuestionProb in reading .mtl file format. Pin
002comp27-Dec-09 19:35
002comp27-Dec-09 19:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.