public class GIterable<ElementType extends ExecutionResult<?>> extends ExecutionResult<IterableAndSize<ElementType>> implements IterableAndSize<ElementType>, TextHolder
QUIT, UNDEF, VOID| Constructor and Description |
|---|
GIterable() |
GIterable(IterableAndSize<ElementType> value) |
| Modifier and Type | Method and Description |
|---|---|
GIterable<ElementType> |
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() |
IterableAndSize<ElementType> |
getValue()
Returns the internal value.
|
java.util.Iterator<ElementType> |
iterator() |
void |
setValue(IterableAndSize<ElementType> value)
Sets the internal value.
|
protected java.lang.String |
valueToString()
Returns the internal value as a string
|
equals, getSign, getStringRepresentation, getTypeName, isZero, toStringgetScriptConstantRepresentation, isStopExecutionpublic GIterable(IterableAndSize<ElementType> value)
public GIterable()
public static ScriptType getTypeStatic()
public IterableAndSize<ElementType> getValue()
ExecutionResultgetValue in class ExecutionResult<IterableAndSize<ElementType extends ExecutionResult<?>>>public void setValue(IterableAndSize<ElementType> value)
ExecutionResultsetValue in class ExecutionResult<IterableAndSize<ElementType extends ExecutionResult<?>>>value - the new value.public ScriptType getType()
ExecutionResultgetType in class ExecutionResult<IterableAndSize<ElementType extends ExecutionResult<?>>>protected java.lang.String valueToString()
ExecutionResultvalueToString in class ExecutionResult<IterableAndSize<ElementType extends ExecutionResult<?>>>public java.util.Iterator<ElementType> iterator()
iterator in interface java.lang.Iterable<ElementType extends ExecutionResult<?>>public int getSize()
IterableAndSizegetSize in interface IterableAndSize<ElementType extends ExecutionResult<?>>public GIterable<ElementType> clone()
clone in class ExecutionResult<IterableAndSize<ElementType extends ExecutionResult<?>>>public java.lang.String getText()
TextHoldergetText in interface TextHolder