/// <summary> /// Set all cells to 2. 2 means that the cell is empty (not set yet). /// /// JAVAPORT: We shouldn't need to do this at all. The code should be rewritten to begin encoding /// with the ByteMatrix initialized all to zero. /// </summary> /// <param name="matrix">The matrix.</param> public static void clearMatrix(ByteMatrix matrix) { matrix.clear(2); }
// Set all cells to -1. -1 means that the cell is empty (not set yet). // // JAVAPORT: We shouldn't need to do this at all. The code should be rewritten to begin encoding // with the ByteMatrix initialized all to zero. internal static void clearMatrix(ByteMatrix matrix) { matrix.clear((sbyte)-1); }
// Set all cells to -1. -1 means that the cell is empty (not set yet). // // JAVAPORT: We shouldn't need to do this at all. The code should be rewritten to begin encoding // with the ByteMatrix initialized all to zero. public static void clearMatrix(ByteMatrix matrix) { matrix.clear((sbyte)(-1)); }
// Set all cells to -1. -1 means that the cell is empty (not set yet). // // JAVAPORT: We shouldn't need to do this at all. The code should be rewritten to begin encoding // with the ByteMatrix initialized all to zero. internal static void clearMatrix(ByteMatrix matrix) { matrix.clear((sbyte) - 1); }