package org.tj.meta.base.study;

import java.util.*;

/**
 * Created by liwenliwen on 16/12/19.
 * 此类主要用来学习Collection接口以及派生类
 */
public class TestCollection {

    public static void main(String[] args) {
//        List a = new ArrayList();
//        a.add("xixi");
//        a.add("haha");
        Map<String,String> map = new HashMap<>();
        map.put("a","b");
        System.out.println(map.size());
        new Random()
    }
}

package org.tj.meta.base.study;

import java.util.*;

/**
 * Created by liwenliwen on 16/12/19.
 * 此类主要用来学习Collection接口以及派生类
 */
public class TestCollection {

    public static void main(String[] args) {
//        List a = new ArrayList();
//        a.add("xixi");
//        a.add("haha");
        Map<String,String> map = new HashMap<>();
        map.put("a","b");
        System.out.println(map.size());
        new Random();
    }
}

test commit count