public static final class TimedValues.Track
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
max
For evaluation: the max and the min inside the values, free usage.
|
double |
min
For evaluation: the max and the min inside the values, free usage.
|
java.lang.String |
name |
char |
typeChar
Only one of the array references is used, proper to this type Char.
|
(package private) double[] |
values_D |
(package private) float[] |
values_F
The value array.
|
(package private) int[] |
values_I |
(package private) short[] |
values_S |
Modifier | Constructor and Description |
---|---|
protected |
Track(java.lang.String name,
char typeChar,
int length)
Constructs a Track.
|
Modifier and Type | Method and Description |
---|---|
double |
getDouble(int ix) |
float |
getFloat(int ix) |
int |
getInt(int ix) |
void |
setDouble(int ix,
double value) |
void |
setFloat(int ix,
float value) |
void |
setInt(int ix,
int value) |
void |
setShort(int ix,
short value) |
public final java.lang.String name
public final char typeChar
public double max
public double min
float[] values_F
double[] values_D
int[] values_I
short[] values_S
protected Track(java.lang.String name, char typeChar, int length)
TimedValues.addTrack(String, char)
to create a track.name
- short name should be unique in all appropriate the data.typeChar
- character D F I S are possible for double, float, int and short.length
- length due to TimedValues.length
public float getFloat(int ix)
public int getInt(int ix)
public double getDouble(int ix)
public void setFloat(int ix, float value)
public void setDouble(int ix, double value)
public void setInt(int ix, int value)
public void setShort(int ix, short value)