public class Matrix extends Object implements Serializable
Matrix2D
. It also provides
an ID and hash code calculation routines, so that similar matrices can be
found easily by the storage system.
Created: August 18, 2008Constructor and Description |
---|
Matrix()
Instantiates a new matrix (only required for beans compliance, do not use
manually).
|
Matrix(Matrix2D val)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
copy()
Creates (deep) copy of this matrix, apart from the ID.
|
boolean |
equals(Object o) |
long |
getHash() |
int |
getID() |
Matrix2D |
getValue() |
int |
hashCode() |
void |
setHash(long hash) |
void |
setID(int id) |
void |
setValue(Matrix2D value)
Sets the value of the matrix.
|
public Matrix(Matrix2D val)
val
- the associated valuepublic Matrix()
public Matrix copy()
public int getID()
public void setID(int id)
public long getHash()
public void setHash(long hash)
public Matrix2D getValue()
public void setValue(Matrix2D value)
value
- the new valueCopyright © 2012. All Rights Reserved.