Package | Description |
---|---|
gololang |
Provides the top-level Golo support classes.
|
gololang.error |
Modifier and Type | Method and Description |
---|---|
Tuple |
GoloStruct.destruct()
Destructuration helper.
|
Tuple |
LazyList.destruct()
Destructuration helper.
|
Tuple |
Tuple.destruct()
Helper for destructuring.
|
Tuple |
Union.destruct()
Destructuration helper.
|
Tuple |
Tuple.extend(java.lang.Object... values)
Returns a new Tuple extended with the given values.
|
Tuple |
Tuple.extend(Tuple tuple)
Returns a new Tuple extended with the given Tuple.
|
static Tuple |
Tuple.fromArray(java.lang.Object[] values)
Helper factory method.
|
Tuple |
GoloStruct.members()
Gets the member names as a tuple of strings.
|
Tuple |
Tuple.subTuple(int start)
Extract a sub-tuple.
|
Tuple |
Tuple.subTuple(int start,
int end)
Extract a sub-tuple.
|
Tuple |
Tuple.tail()
Returns a new tuple containg the remaining elements.
|
static Tuple |
Predefined.tuple(java.lang.Object... values)
Tuple constructor.
|
Tuple |
GoloStruct.values()
Gets the current values, in order of member declaration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
GoloStruct.iterator()
Provides an iterator over the structure.
|
Modifier and Type | Method and Description |
---|---|
int |
Tuple.compareTo(Tuple other)
Compares this tuple with the specified tuple for order.
|
Tuple |
Tuple.extend(Tuple tuple)
Returns a new Tuple extended with the given Tuple.
|
static java.util.Map<java.lang.Object,java.lang.Object> |
Predefined.map(Tuple... items)
Varargs version of a map constructor.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
Result.destruct()
Return a
Tuple representing this Result . |