se.unlogic.standardutils.datatypes
Class Matrix<CellType>

java.lang.Object
  extended by se.unlogic.standardutils.datatypes.Matrix<CellType>

public class Matrix<CellType>
extends Object


Constructor Summary
Matrix(int rows, int cols)
           
 
Method Summary
 CellType getCell(int rowPos, int colPos)
           
 List<CellType> getColumn(int columnPos)
           
 int getColumnCount()
           
 List<CellType> getRow(int rowPos)
           
 int getRowCount()
           
 void setCell(int rowPos, int colPos, CellType cell)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix

public Matrix(int rows,
              int cols)
Method Detail

getRow

public List<CellType> getRow(int rowPos)

getColumn

public List<CellType> getColumn(int columnPos)

getCell

public CellType getCell(int rowPos,
                        int colPos)

setCell

public void setCell(int rowPos,
                    int colPos,
                    CellType cell)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()


Copyright © 2011. All Rights Reserved.