int dataA [] = new int [] {1,2,3,};int dataB [] = new int [] {2,1,3,};System.out.println(Arrays.equals(dataA,dataB)); //返回false,必须顺序相同才返回true