|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.spatial.network.lod.Matrix<E>
public class Matrix<E>
A simple double array matrix implementation.
| Constructor Summary | |
|---|---|
Matrix(int rows, int cols)Constructs an empty matrix with the specified dimensions. |
|
| Method Summary | |
|---|---|
E |
get(int row, int col)Returns the element at the specified row and column. |
int |
getColumnDimension()Returns the column dimension. |
int |
getRowDimension()Returns the row dimension. |
void |
set(int row, int col, E elem)Sets the element at the specified row and column. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Matrix(int rows,
int cols)
rows - row dimensioncols - column dimension| Method Detail |
|---|
public int getColumnDimension()
public int getRowDimension()
public E get(int row,
int col)
row - row of the elementcol - column of the element
public void set(int row,
int col,
E elem)
row - row of the elementcol - column of the elementelem - element
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||