public class DefaultCodeBuilder.BaseArguments extends Object implements Code.Caller.Arguments
Constructor and Description |
---|
BaseArguments() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Provides each value of this container to the provided
Visitor . |
void |
add(Code arg) |
int |
count() |
Code |
get(int n) |
Iterator<Code> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public int count()
count
in interface Code.Caller.Arguments
public void add(Code arg)
add
in interface Code.Caller.Arguments
public Iterator<Code> iterator()
iterator
in interface Iterable<Code>
iterator
in interface Code.Caller.Arguments
public Code get(int n)
get
in interface Code.Caller.Arguments
public void accept(Visitor visitor) throws BaseException
Visitable
Visitor
.accept
in interface Visitable
visitor
- the visitor to apply to each value.BaseException
- if there is an error while performing the visit