import java.util.Map;import org.apache.commons.lang.ArrayUtils;/** *       @Title: Array2Map.java  * @Package    @Description: TODO *  * @author chenguang    @date 2013-12-16 上午10:56:21   @version V1.0     */public class Array2Map {    public static void main(String[] args) {        String[][] countries = { { "United States", "New York" },                { "United Kingdom", "London" }, { "Netherland", "Amsterdam" },                { "Japan", "Tokyo" }, { "France", "Paris" } };        Map countryCapitals = ArrayUtils.toMap(countries);        System.out.println("Capital of Japan is "  + countryCapitals.get("Japan"));        System.out.println("Capital of France is " + countryCapitals.get("France"));    }}