Java common data Structures and types (MAP, array, generics, etc.)--java

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.