public class IntegerMatrix extends MatrixSecondary<java.lang.Integer>
Constructor and Description |
---|
IntegerMatrix(int rows,
int columns) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets
this to its initial value. |
java.lang.Integer |
entry(int row,
int column) |
Matrix<java.lang.Integer> |
newInstance()
Returns a new object with the same dynamic type as
this , having
an initial value. |
java.lang.Integer |
setEntry(java.lang.Integer entry,
int row,
int column) |
void |
transferFrom(Matrix<java.lang.Integer> source)
Sets
this to the incoming value of source, and resets
source to an initial value; the declaration notwithstanding, the
dynamic type of source must be the same as the dynamic type of
this . |
public java.lang.Integer setEntry(java.lang.Integer entry, int row, int column)
public java.lang.Integer entry(int row, int column)
public void clear()
Standard
this
to its initial value.public void transferFrom(Matrix<java.lang.Integer> source)
Standard
this
to the incoming value of source, and resets
source
to an initial value; the declaration notwithstanding, the
dynamic type of source
must be the same as the dynamic type of
this
. If the type T has a no-argument constructor, then
source
satisfies the contract of the no-argument constructor for
T. If T does not have a no-argument constructor, then source satisfies
the contract of the constructor call that was used to initialize
#source
.source
- object whose value is to be transferredpublic Matrix<java.lang.Integer> newInstance()
Standard
this
, having
an initial value. If the type T has a no-argument constructor, then the
value of the new returned object satisfies the contract of the
no-argument constructor for T. If T does not have a no-argument
constructor, then the value of the new returned object satisfies the
contract of the constructor call that was used to initialize
this
.this
with an initial value