com.browseengine.bobo.util
Class PrimitiveMatrix
java.lang.Object
com.browseengine.bobo.util.PrimitiveMatrix
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FloatMatrix, IntMatrix
public abstract class PrimitiveMatrix
- extends Object
- implements Serializable
- See Also:
- Serialized Form
_matrix
protected Object _matrix
_rowCount
protected int _rowCount
_colCount
protected int _colCount
PrimitiveMatrix
protected PrimitiveMatrix(Class type,
int[] sizes)
PrimitiveMatrix
protected PrimitiveMatrix(Class type)
expandRows
protected void expandRows(int upTo)
expandCols
protected void expandCols(int upTo)
expand
protected void expand(int rUpto,
int cUpTo)
ensureCapacity
public void ensureCapacity(int x,
int y)
seal
public void seal()
- called to shrink the array size to the current # of elements to save memory.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.