Doing the project today, the whim, decided to use their usual Java data type collation (Java Master and the basic good netizen don't look down, kneeling beg not to spray), are very basic very simple things, but I think it is necessary, good memory than bad pen, oneself in order to facilitate the development of it, Java Masters directly ignore this blog, only for those who need to see, not to be continued!
List<string> counlist=new arraylist<string> ();//define array list String country[]=coun.split (",");//define Array, Split string map<string,string> Map = new hashmap<string,string> ();//define Hash table
Simply ignore the following:
/** * ########### * Exception piece Summary Export-exception piece summary * processing statistics by country query data * @param map * @return list< Abnormalmailentity> * @author Yhua * @date 2014.11.21 * * Public list<abnormalmailentity> Toexportabnormalmail (map<string,string> Map) { string coun=map.get ("Coun");//national string, separated by commas list< String> counlist=new arraylist<string> (); String country[]=coun.split (","); for (int i=0;i<country.length;i++) {//test with meaningless code counlist.add (Country[i]); } for (int i=0;i<country.length;i++) { logistictimelimitdao.querycountryabnormalmaillist (country[i],map); } Cut off the code below *********************************************
Welcome users to reply below, learn to communicate!
Java common data Structures and types (MAP, array, generics, etc.)--java