|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fundamentals.EuArguments
This class holds a collection of arguments to LEA commands. These can be either a numerical value, or a reference to an entry in the testDatabase.
Constructor Summary | |
EuArguments()
The constructor initializes a (small) Vector |
|
EuArguments(int data)
The constructor adds datumCount entries of dummy data |
|
EuArguments(int data,
int startDatum)
The constructor adds implicit data from %startDatum to %data+startdatum-1 |
Method Summary | |
void |
add(double x)
Hold additional argument |
void |
add(fundamentals.EuArg o)
Hold additional argument |
void |
add(fundamentals.EuVector v)
Hold additional argument |
void |
clear()
|
int |
count()
|
fundamentals.EuArg |
getArg(int i)
Retrieve an argument |
boolean |
isDummy()
|
java.lang.String |
toString()
|
void |
update(librarian.ppProcessor ppp)
|
double |
val(int i)
Retrieve the value of an argument |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EuArguments()
public EuArguments(int data, int startDatum)
public EuArguments(int data)
Method Detail |
public int count()
public fundamentals.EuArg getArg(int i) throws InternalException
i
- the index to be used
InternalException
- if index out of boundspublic double val(int i) throws DesignException, InternalException
i
- the index to be used
InternalException
- if index out of bounds
LeaRuntimeException
- if there are problems looking
the value up in the testdatabase.
DesignException
public void add(fundamentals.EuArg o)
o
- The argument to holdpublic void add(fundamentals.EuVector v)
public void add(double x)
public void update(librarian.ppProcessor ppp) throws DesignException, InternalException, DesignException
DesignException
InternalException
public java.lang.String toString()
toString
in class java.lang.Object
public void clear()
public boolean isDummy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |