|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.Table.Table
Class Name : Table
Project ref : SPIS project
File name : Table.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :
Description : Table of values (i.e. 1 column), of variable type, typically scalars or vectors.
Predefined containers, such as lists of generic objects in C++ STL, were not used for efficiency reasons.
All Table classes must be derived from this class.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
Table(int dimension)
Default constructor |
Method Summary | |
void |
checkSameDim(Table tab)
checks equality of table dimension (logical filled dimension, not allocated length) |
void |
declareDim(int dimension)
declares the table dimension (logical filled dimension, not allocated length) (does not actually resize any array) |
int |
getDim()
provides table dimension (logical filled dimension, not allocated length) |
abstract void |
reset()
Sets this table to zero value (dimension, etc. unchanged) |
abstract void |
setDim(int dim)
Sets logical dimension to dim and resizes the table if necessary to be large enough (does not preserve data (except if no resizing is needed)) |
abstract void |
setDimPreserve(int dim)
Sets logical dimension to dim and resizes the table if necessary to be large enough, preserving the data |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Table(int dimension)
Method Detail |
public abstract void setDim(int dim)
public abstract void setDimPreserve(int dim)
public void declareDim(int dimension)
public int getDim()
public void checkSameDim(Table tab)
public abstract void reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |