Modifier and Type | Method and Description |
---|---|
void |
addArg(IJVal arg) |
IJVal |
getArg(int i) |
int |
getNArgs() |
java.util.Iterator<IJVal> |
iterator() |
java.lang.String |
toString() |
public JTuple(IJVal arg) throws InvalidTupleException
arg
- the JVal to add to this JTupleInvalidTupleException
- if the given JVal is invalid (e.g. null)public void addArg(IJVal arg) throws InvalidTupleException
addArg
in interface IJTuple
arg
- the JVal to add to this JTupleInvalidTupleException
- if the given JVal is invalid (e.g. null)public IJVal getArg(int i)
public int getNArgs()
public java.util.Iterator<IJVal> iterator()
iterator
in interface java.lang.Iterable<IJVal>
public java.lang.String toString()
toString
in class java.lang.Object