Java xor xor(int[][] array, int[][] array2)

Here you can find the source of xor(int[][] array, int[][] array2)

Description

xor

License

Apache License

Declaration

public static int[][] xor(int[][] array, int[][] array2) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static int[][] xor(int[][] array, int[][] array2) {
        int[][] result = new int[4][4];
        for (int i = 0; i < array.length; i++)
            result[i] = xor(array[i], array2[i]);
        return result;
    }//ww  w.  j  a  v a2  s .c o  m

    private static int[] xor(int[] array, int[] array2) {
        int[] result = new int[4];
        for (int i = 0; i < array.length; i++)
            result[i] = array[i] ^ array2[i];
        return result;
    }
}

Related

  1. xor(final byte[] inputByteArray, final byte timeByte)
  2. xor(int n1, int n2)
  3. XOR(int res, String key)
  4. xor(int[] byteOne, int[] byteTwo)
  5. xor(int[] byteOne, int[] byteTwo)
  6. xor(long x, long y)
  7. xor(short b1, short b2)
  8. xor(String key, String input)
  9. xor(T l1, T l2)