Java Utililty Methods Matrix Swap

List of utility methods to do Matrix Swap

Description

The list of methods to do Matrix Swap are organized into topic(s).

Method

byte[][]swapTwoRows(byte[][] pattern, int row1, int row2)
swap Two Rows
byte[] temp_row = pattern[row1];
pattern[row1] = pattern[row2];
pattern[row2] = temp_row;
return pattern;