public class GArray extends ExecutionResult<java.util.ArrayList<ExecutionResult<?>>> implements IterableAndSize<ExecutionResult<?>>, TextHolder
QUIT, UNDEF, VOID
Constructor and Description |
---|
GArray() |
GArray(java.util.ArrayList<ExecutionResult<?>> value) |
Modifier and Type | Method and Description |
---|---|
GArray |
clone() |
int |
getSize()
Returns the number of elements to iterate.
|
java.lang.String |
getText()
Returns the text.
|
ScriptType |
getType()
Returns the type of the result.
|
static ScriptType |
getTypeStatic() |
java.util.ArrayList<ExecutionResult<?>> |
getValue()
Returns the internal value.
|
java.util.Iterator<ExecutionResult<?>> |
iterator() |
void |
setValue(java.util.ArrayList<ExecutionResult<?>> value)
Sets the internal value.
|
equals, getSign, getStringRepresentation, getTypeName, isZero, toString, valueToString
getScriptConstantRepresentation, isStopExecution
public GArray(java.util.ArrayList<ExecutionResult<?>> value)
public GArray()
public static ScriptType getTypeStatic()
public java.util.ArrayList<ExecutionResult<?>> getValue()
ExecutionResult
getValue
in class ExecutionResult<java.util.ArrayList<ExecutionResult<?>>>
public void setValue(java.util.ArrayList<ExecutionResult<?>> value)
ExecutionResult
setValue
in class ExecutionResult<java.util.ArrayList<ExecutionResult<?>>>
value
- the new value.public java.util.Iterator<ExecutionResult<?>> iterator()
iterator
in interface java.lang.Iterable<ExecutionResult<?>>
public int getSize()
IterableAndSize
getSize
in interface IterableAndSize<ExecutionResult<?>>
public GArray clone()
clone
in class ExecutionResult<java.util.ArrayList<ExecutionResult<?>>>
public ScriptType getType()
ExecutionResult
getType
in class ExecutionResult<java.util.ArrayList<ExecutionResult<?>>>
public java.lang.String getText()
TextHolder
getText
in interface TextHolder