/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.ruogu.lang3;

import org.apache.commons.lang3.ArrayUtils;

public class ArrayUtilsTest {
	public static void main(String[] args) {
		Class<?>[] classArray = new Class[0];

		int[][] intArray = { { 1, 4, 6 }, { 2, 0, 7 } };
		
		System.out.println(ArrayUtils.toString(intArray));
		
	}
}

@@ -824,16 +824,97 @@
 lang3;%0A%0A
+import java.util.AbstractMap;%0Aimport java.util.Map;%0Aimport java.util.Map.Entry;%0A%0A
 import o
@@ -949,16 +949,16 @@
 yUtils;%0A
-
 %0Apublic 
@@ -1114,19 +1114,17 @@
  7 %7D %7D;%0A
-%09%09
 %0A
+
 %09%09System
@@ -1171,13 +1171,638 @@
 y));
+%0A%0A%09%09// %E5%AD%97%E7%AC%A6%E4%B8%B2%E6%95%B0%E7%BB%84%E8%BD%ACmap%0A%09%09String%5B%5D%5B%5D toMap1 = %7B %7B %22k1%22, %22v1%22 %7D, %7B %22k2%22, %22v2%22, %22vv%22 %7D %7D;%0A%09%09Map%3CObject, Object%3E map1 = ArrayUtils.toMap(toMap1);%0A%09%09System.out.println(map1.toString());%0A%09%09%0A%09%09// Entry%E6%95%B0%E7%BB%84%E8%BD%ACamp%0A%09%09Entry%3CString, String%3E o1 = new AbstractMap.SimpleEntry%3CString, String%3E(%22key1%22, %22value1%22);%0A%09%09Entry%3CString, String%3E o2 = new AbstractMap.SimpleEntry%3CString, String%3E(%22key2%22, %22value2%22);%0A%09%09Entry%5B%5D jj = new AbstractMap.SimpleEntry%5B2%5D;%0A%09%09jj%5B0%5D = o1;%0A%09%09jj%5B1%5D = o2;%0A%09%09%0A%09%09System.out.println(ArrayUtils.toMap(jj));%0A%09%09%0A%09%09// %E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E6%95%B0%E7%BB%84%0A%09%09Entry%3CString, String%3E%5B%5D jjs = new AbstractMap.SimpleEntry%5B2%5D;%0A%09%09Entry%3CString, String%3E%5B%5D jjss = new Entry%5B2%5D;
 %0A%09%09%0A%09%7D%0A
+
 %7D
-%0A

test ArrayUtils.toMap