Пример #1
0
        public object Clone()
        {
            int     row    = base.matrix.Row;
            int     column = base.matrix.Column;
            CellSet set    = new CellSet(row, column);

            for (int i = 0; i < row; i++)
            {
                for (int j = 0; j < column; j++)
                {
                    Cell cell = getCell(i, j);
                    if (cell != null)
                    {
                        Cell cell2 = (Cell)cell.Clone();
                        set.matrix[i, j] = cell2;
                        //set.cellMatrix_0[i, j, cell2];
                    }
                }
            }
            return(set);
        }
Пример #2
0
 public Parser(CellSet cellset)
 {
     this.cellSet_0 = cellset;
 }