public static class Value.Tuple.GP extends Value.Tuple
Value.Tuple.GP
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Field and Description |
---|---|
Value[] |
elts
The elements of 'this' Tuple.GP.
|
Constructor and Description |
---|
GP(Value[] elts)
Construct a Tuple.GP from several elements 'elts'.
|
Modifier and Type | Method and Description |
---|---|
Value |
elt(int i)
Returns the i-th elt (
forced ). |
int |
nElts()
The number of elements (components, fields) in
'this' Structured Value.
|
Type.Tuple |
type()
Return the
Type of 'this' Value. |
AoM, closes, elts, frth, fst, nlAoM, opens, print, separator, snd, thrd, toString
public final Value[] elts
public GP(Value[] elts)
public Type.Tuple type()
Value
Type
of 'this' Value.type
in class Value.Tuple
public int nElts()
Value.Structured
nElts
in class Value.Tuple
public Value elt(int i)
Value.Tuple
forced
).elt
in class Value.Tuple