public class MatrixElement
extends java.lang.Object
| Constructor and Description | 
|---|
MatrixElement(int row,
             int col,
             double value)
Creates a matrix entry 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.lang.Integer | 
getColumn()
Gets the column index. 
 | 
java.lang.Integer | 
getRow()
Gets the row index. 
 | 
java.lang.Double | 
getValue()
Gets the value. 
 | 
int | 
hashCode()  | 
public MatrixElement(int row,
                     int col,
                     double value)
row - The row index.col - The column index.value - The value.public java.lang.Integer getRow()
public java.lang.Integer getColumn()
public java.lang.Double getValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object