Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 // 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);
 }
Ejemplo n.º 3
0
 // 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));
 }
Ejemplo n.º 4
0
 // 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);
 }