简体   繁体   中英

How to pass a name value pair as a List to a method in java

I have to pass a name value pair of myDate="2019-11-21" as the third parameter to the below mentioned method call:

jsonParser.makeServiceCall(get_client_name_by_date_url, JsonServiceHandler.GET,List);

How can I achieve this?

Instead of List pass Map<String, Date> or Map<String, String>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM