clear() public method

public clear ( sbyte value_Renamed ) : void
value_Renamed sbyte
return void
Esempio n. 1
0
        // From Appendix D in JISX0510:2004 (p. 67)

        // 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((- 1));
        }