• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dispalying contents of a HashMap within a class ...  RSS feed

 
Songezo Nkukwana
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!