Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
JAVA help, urgent plz
Name: hillank Date: April 13, 2004 at 20:45:12 Pacific OS: WinXP CPU/Ram: 512
Comment:
Hi there,
I am trying to iterator through a hashmap, and it doesnt seem to be working.. i am a newbie at hashmaps, so any help would be appreciated! :)
below is the code i am using to iterate through the hashmap to search for a key word. Object key = "test" dBase db; Set keys = dbaseMap.keySet(); Iterator iter = keys.iterator(); while(iter.hasNext()) { key = iter.next(); db = (dBase)dbaseMap.get(key); System.out.println(db.getSymbol()); }
if anyone can help it would be greatly appreciated. Thanks
Summary: Can anyone solve this problem for me. I have 2 classes. 1 class is using a non-default constructor, the argument is a String. ie: public void class1(String aString) When i initialize the object using ...
Summary: Hey, Can anyone please help me with this. The method is meant to iterate through a hashmap, and then save the object if the key is found, then it's meant to print out a string from the object. All hel...
Summary: Everybody, Need your help urgently! From a client, I call LsaLogonUser to logon to a domain server. The function is successfully returned. But when I hope to access the file on the server, a dialog p...