public abstract class PrimitiveMatrix extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
_colCount |
protected Object |
_matrix |
protected int |
_rowCount |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveMatrix(Class type) |
protected |
PrimitiveMatrix(Class type,
int[] sizes) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureCapacity(int x,
int y) |
protected void |
expand(int rUpto,
int cUpTo) |
protected void |
expandCols(int upTo) |
protected void |
expandRows(int upTo) |
void |
seal()
called to shrink the array size to the current # of elements to save memory.
|
String |
toString() |
protected Object _matrix
protected int _rowCount
protected int _colCount
protected PrimitiveMatrix(Class type, int[] sizes)
protected PrimitiveMatrix(Class type)
protected void expandRows(int upTo)
protected void expandCols(int upTo)
protected void expand(int rUpto,
int cUpTo)
public void ensureCapacity(int x,
int y)
public void seal()
Copyright © 2005–2013. All rights reserved.