Constructor and Description |
---|
ArgList()
Constructs a argument list object.
|
Modifier and Type | Method and Description |
---|---|
void |
add(IArgValue arg)
Adds an argument to the list.
|
IArgValue |
get(int pos)
Returns the argument at the given position
Position starts from 0.
|
int |
size()
Returns the number of arguments in the list.
|
public void add(IArgValue arg)
arg
- argument to be addedpublic int size()
public IArgValue get(int pos)
pos
- position