|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--abstractmatrix.AbstractMatrix
Clase abstracta que permite una implementacion en varios tipos de datos de una matriz.
Field Summary | |
private int |
columns
|
private int |
rows
|
private boolean |
squared
|
Constructor Summary | |
AbstractMatrix(int rows,
int columns)
Guarda el numero de renglones y columnas. |
Method Summary | |
int |
getColumns()
Obtiene el numero de columnas (referencia a la matriz). |
int |
getRows()
Obtiene el numero de renglones (referencia a la matriz). |
boolean |
isSquared()
Checa si la matriz (logica) es cuadrada. |
abstract boolean |
isStoredAt(int i,
int j)
Checa si el elemento se almacena en memoria. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int rows
private int columns
private boolean squared
Constructor Detail |
public AbstractMatrix(int rows, int columns)
Method Detail |
public int getRows()
public int getColumns()
public boolean isSquared()
public abstract boolean isStoredAt(int i, int j)
i
- Renglon.j
- Columna.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |