| Modifier and Type | Class and Description |
|---|---|
class |
ZTuple.ZTupleIterator
Dynamiclly wrapping the memember of Expr to ZValue
|
| Constructor and Description |
|---|
ZTuple()
Construct an empty tuple.
|
ZTuple(List<ZValue> tuple)
Construct a tuple from a list of values.
|
ZTuple(net.sourceforge.czt.z.ast.TupleExpr expr)
Construct a
ZTuple by a given TupleExpr |
ZTuple(ZValue a,
ZValue b)
Construct a tuple containing two values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Test equality with another object.
|
ZValue |
get(int index)
Return the
indexth value in the tuple. |
net.sourceforge.czt.z.ast.TupleExpr |
getExpr()
Get the expr type representing the zvalue
|
int |
hashCode() |
ListIterator<ZValue> |
iterator() |
int |
size() |
String |
toString() |
public ZTuple()
public ZTuple(ZValue a, ZValue b)
a - The first value.b - The second value.public ZTuple(List<ZValue> tuple)
tuple - The list of values.public ZTuple(net.sourceforge.czt.z.ast.TupleExpr expr)
ZTuple by a given TupleExprexpr_ - The TupleExpr to storepublic ListIterator<ZValue> iterator()
public int size()
public ZValue get(int index)
indexth value in the tuple.index - Index into the tuple.index.public String toString()
public boolean equals(Object obj)
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.