A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Accessing the HashMap object
Joined: Mar 27, 2010
Sep 07, 2010 06:34:46
I want to access
object of Class E through class I at runtime.
method of Class I gets called through Class E methods.
I want to change the value of
which is private to class E at rumtime.
I have tried to use reflection,to get the Field(it returns object of Field class,it does not return
).But I can not make changes in values in
I agree. Here's the link:
subject: Accessing the HashMap object
Sorting Keys(Value Objects) in HashMap
array with elements of different types?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014