aspose file tools*
The moose likes Java in General and the fly likes Importing HashMap Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Importing HashMap Class " Watch "Importing HashMap Class " New topic
Author

Importing HashMap Class

Ram Adsumalli
Ranch Hand

Joined: Oct 16, 2006
Posts: 64
Hi Guys,

I am in urgent need of this i created and hashmap like

HashMap UserMap = new HashMap(121) in the User.java Class in the Package com.fdu.Test

Now I want to use the same HashMap in the another class Student in another package. In this class i need to put some key value pairs in the same HashMap the below is the pesudo code . can any one will this work out


Can any one help me will this pseudo Code work out

Thanks
Ram
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18108
    
  39

Can any one help me will this pseudo Code work out


Work what out? Pseudo code is a high level (and informal) code, that is used to describe an algorithm. It is *not* real code. It's for your consumption. Question? Does the pseudo code convey the algorithm that you want? If yes, then it works.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
wood burning stoves
 
subject: Importing HashMap Class
 
Similar Threads
Arrays: Calling input from other methods and classes
When to use Hashmap (synchronized as needed) and when to use Concurrent hashmap?
Sorting Keys(Value Objects) in HashMap
Help with Java Generics...
Overriding Hashcode() and Equals()