|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.PersistentObject
org.apache.mahout.math.matrix.impl.AbstractMatrix
@Deprecated public abstract class AbstractMatrix
Field Summary | |
---|---|
protected boolean |
isNoView
Deprecated. |
Constructor Summary | |
---|---|
protected |
AbstractMatrix()
Deprecated. Makes this class non instantiable, but still let's others inherit from it. |
Method Summary | |
---|---|
void |
ensureCapacity(int minNonZeros)
Deprecated. Ensures that the receiver can hold at least the specified number of non-zero (non-null) cells without needing to allocate new internal memory. |
protected boolean |
isView()
Deprecated. Returns whether the receiver is a view or not. |
abstract int |
size()
Deprecated. Returns the number of cells. |
void |
trimToSize()
Deprecated. Releases any superfluous internal memory. |
Methods inherited from class org.apache.mahout.math.PersistentObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean isNoView
Constructor Detail |
---|
protected AbstractMatrix()
Method Detail |
---|
public void ensureCapacity(int minNonZeros)
This default implementation does nothing. Override this method if necessary.
minNonZeros
- the desired minimum number of non-zero (non-null) cells.protected boolean isView()
public abstract int size()
public void trimToSize()
This default implementation does nothing. Override this method if necessary.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |