Hi,
I am wanted to know as how could i get values from valuemap at run time from the below code . If I had say properties that were of type
String
StringArry []
boolean
Date
List<Map> testMap = new ArrayList<Map>();
testMap.add(resourceProp);
for(Map<String,? extends Object> map:testMap){
......
}
In the for loop I would need to keep object typecasted manually to the actual type by checking Instance Of. Is there any better way to do it.
Thanks,
Srinivas