Arrays#deepEquals()で配列要素の再帰的な比較ができます。 Object a = new Object(); Object b = new Object(); Object c = new Object(); // 配列 System.out.println( Arrays.deepEquals( new Object[] {a,b}, new Object[] {a,b} )); // true System.out.println( Arrays.deepEquals( new Object[] {a,b}, new Object[] {a,c} )); // false // 配列の配列 System.out.println( Arrays.deepEquals( new Object[][] {new Object[] {a,b}, new Object[] {a,