Question

4
Replies
246
Views
Close popover
Satish Tripathi (PERKSATISH)
JP Morgan Chase

JP Morgan Chase
US
PERKSATISH Member since 2013 5 posts
JP Morgan Chase
Posted: May 4, 2016
Last activity: May 11, 2016
Closed
Solved

Hashmap as parameter in Function throwing error

Here's how can we define a function with hashmap as parameter in JAVA

public static void mapEDPIBeaconFields(String page, int ind, Map<String, Object> map)
{

System.out.println("\nmapEDPIBeaconFields: "+map.get("id").toString());
System.out.println("\nmapEDPIBeaconFields: "+page);
System.out.println("\nmapEDPIBeaconFields: "+ind);
}

I tried to create a function in Pega , it is throwing error. Attached the screenshot of the error and the Util library used.

System Administration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.