aspose file tools
The moose likes Java in General and the fly likes Dispalying contents of a HashMap within a class ... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Dispalying contents of a HashMap within a class ... " Watch "Dispalying contents of a HashMap within a class ... " New topic
Author

Dispalying contents of a HashMap within a class ...

Songezo Nkukwana
Ranch Hand

Joined: Nov 27, 2008
Posts: 51
Hi, i have this class



Assuming map has been initialized successfully with atleast 10 objects with its managers, how do i display its contents if ClassA is accessed through its instance variable?



Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

ClassAInitializer will have to provide some sort of accessor method to let you get at the Mapm, otherwise you'll need to get at it via reflection.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dispalying contents of a HashMap within a class ...
 
Similar Threads
static and non-static methods inheritance
Confusion about interfaces, creating your own classes, casting
Change & sort the contents of JComboBox in Swing
2 problems.. getting correct file from filechooser to work..turning array into jlabel
TreeMap Sorting Problem!