Here you can find the source of transformMutiParamTableToList(String[] mutiParamTable)
public static List<Map<String, String>> transformMutiParamTableToList(String[] mutiParamTable)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Main { public static List<Map<String, String>> transformMutiParamTableToList(String[] mutiParamTable) { List<Map<String, String>> levelsSelectedList = new ArrayList<Map<String, String>>(); if (mutiParamTable != null) { for (int i = 0; i < mutiParamTable.length; i++) { Map<String, String> map = new HashMap<String, String>(); map.put("id", mutiParamTable[i]); levelsSelectedList.add(map); }//from w ww . j a va2 s . c o m } return levelsSelectedList; } }