wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 18508
    
  40

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)
 
Don't get me started about those stupid light bulbs.
 
subject: Importing HashMap Class
 
Similar Threads
Overriding Hashcode() and Equals()
When to use Hashmap (synchronized as needed) and when to use Concurrent hashmap?
Arrays: Calling input from other methods and classes
Help with Java Generics...
Sorting Keys(Value Objects) in HashMap