public class TypeDat
extends java.lang.Object
Class defined to store the data characteristics
Constructor and Description |
---|
TypeDat()
Creates a new instance of TypeDat
|
Modifier and Type | Method and Description |
---|---|
int |
getClas()
Gets the class
|
boolean |
getCovered()
Gets if the example is covered
|
float |
getDat(int pos)
Gets the value of a variable
|
void |
initDat(int tama)
Initialise the structure for the examples
|
void |
setClas(int val)
Sets the value of a class
|
void |
setCovered(boolean val)
Sets the state of the example
|
void |
setDat(int pos,
float value)
Initialise a variable of an example
|
public void initDat(int tama)
Initialise the structure for the examples
tama
- Number of variables for an examplepublic void setDat(int pos, float value)
Initialise a variable of an example
pos
- Position of the variablevalue
- Value to initialisepublic float getDat(int pos)
Gets the value of a variable
pos
- Position of the variablepublic int getClas()
Gets the class
public void setClas(int val)
Sets the value of a class
val
- Value of the position of the classpublic boolean getCovered()
Gets if the example is covered
public void setCovered(boolean val)
Sets the state of the example
val
- Value correspondent to the state of the example