aspose file tools*
The moose likes Beginning Java and the fly likes Problems in executing a reverseHashMap progam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Problems in executing a reverseHashMap progam" Watch "Problems in executing a reverseHashMap progam" New topic
Author

Problems in executing a reverseHashMap progam

vidu mayur
Ranch Hand

Joined: Nov 13, 2003
Posts: 32
Hi all
I was trying to reverse a HashMap and it compiled fine. When I executed it, it gave me a java.lang.OutOfMemoryError. Then, I restarted the PC and tried executintg other working programs/this program, the process never ends. I want to execute other programs now. Please help me!
P.S: If you want to look at the code which caused all this, please see below

Thanks in advance
vidu mayur
Ranch Hand

Joined: Nov 13, 2003
Posts: 32
Hi all
I found the error. The list didn't have any values in it.
Thanks
Vidu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems in executing a reverseHashMap progam
 
Similar Threads
Clarification regarding HashMap
removal of elements in linkedlist of java
To print MAX and MIN line from a text file
Sorting a Hashtable by values & retriving kay-value pair
code generation of an effective hashCode