|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcpsim.plot.ResultParameter
org.jcpsim.plot.RbResultParameter
public class RbResultParameter
| Constructor Summary | |
|---|---|
RbResultParameter(java.lang.String name,
java.lang.String type,
java.lang.String unit,
double min,
double max)
|
|
| Method Summary | |
|---|---|
double |
get()
Gets the actual element. |
double |
get(int i)
Retrieves a value from the buffer. |
int |
getLength()
|
boolean |
isEmpty()
|
void |
put(double item)
Writes a value to the buffer. |
void |
reset(int length)
|
int |
size()
|
| Methods inherited from class org.jcpsim.plot.ResultParameter |
|---|
getMax, getMin, getName, getTrimmed, getType, getTypeWithUnit, getUnit, trim |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RbResultParameter(java.lang.String name,
java.lang.String type,
java.lang.String unit,
double min,
double max)
| Method Detail |
|---|
public void reset(int length)
public boolean isEmpty()
isEmpty in class ResultParameterpublic int size()
size in class ResultParameterpublic int getLength()
public void put(double item)
put in class ResultParameteritem - the valuepublic double get()
get in class ResultParameterpublic double get(int i)
for (int i=0; i.
- Specified by:
getin classResultParameter
- Parameters:
i- 0: the newest value in the buffer; 1: the newest but one value; size()-1: the oldest value- Returns:
- the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||