Clear() public method

public Clear ( sbyte value ) : void
value sbyte
return void
Example #1
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);
 }
Example #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.
 public static void ClearMatrix(ByteMatrix matrix)
 {
     matrix.Clear((sbyte)-1);
 }