| 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
|
 |
 |
|
|
subject: Dispalying contents of a HashMap within a class ...
|
|
|