|
Colt 1.2.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcern.colt.PersistentObject
cern.colt.matrix.impl.AbstractMatrix
Abstract base class for arbitrary-dimensional matrices holding objects or primitive data types such as int, float, etc.
First see the package summary and javadoc tree view to get the broad picture.
Note that this implementation is not synchronized.
| Field Summary |
| Fields inherited from class cern.colt.PersistentObject |
serialVersionUID |
| Method Summary | |
void |
ensureCapacity(int minNonZeros)
Ensures that the receiver can hold at least the specified number of non-zero (non-null) cells without needing to allocate new internal memory. |
abstract int |
size()
Returns the number of cells. |
void |
trimToSize()
Releases any superfluous internal memory. |
| Methods inherited from class cern.colt.PersistentObject |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.public abstract int size()
public void trimToSize()
This default implementation does nothing. Override this method if necessary.
|
Colt 1.2.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||