Click here to Skip to main content
15,881,852 members
Home / Discussions / Java
   

Java

 
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 
I am getting iterator of Hashmap hmap like this:
Iterator itr = hmap.keySet().Iterator();

Now,I m running this loop to get next value like this:
while(itr.hasNext())
{
Object key = itr.next();
}

Now,the itr.next is returning the object type.But to get the value by using that key needs int type not object type,that code is here:
while(itr.hasNext())
{
Object key = itr.next();
String name = hmap.get(key).materialname;
}
so what can I do?
I want to tell that hmap is having two parameters:
hmap<int id,class="" material="">

Thanks In Advance.
Yogesh
GeneralRe: HashMap Pin
Cedric Moonen30-Dec-09 23:16
Cedric Moonen30-Dec-09 23:16 
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 
Questioncall by value for objects Pin
mesho26-Dec-09 8:52
mesho26-Dec-09 8:52 
AnswerRe: call by value for objects Pin
Luc Pattyn26-Dec-09 9:18
sitebuilderLuc Pattyn26-Dec-09 9:18 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 10:33
mesho26-Dec-09 10:33 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 10:38
sitebuilderLuc Pattyn26-Dec-09 10:38 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 10:54
mesho26-Dec-09 10:54 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 11:22
sitebuilderLuc Pattyn26-Dec-09 11:22 
GeneralRe: call by value for objects Pin
Cedric Moonen26-Dec-09 22:45
Cedric Moonen26-Dec-09 22:45 
GeneralRe: call by value for objects Pin
mesho27-Dec-09 5:38
mesho27-Dec-09 5:38 
AnswerRe: call by value for objects Pin
April Fans18-Jan-10 15:28
April Fans18-Jan-10 15:28 
QuestionProblem in showing Illumination(shadowness) Pin
002comp23-Dec-09 0:48
002comp23-Dec-09 0:48 

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.