| Modifier and Type | Field and Description |
|---|---|
| public Class | |
| public int[] | definedDimensions
The Length in each defined dimension. |
| public int | |
| public int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object | |
| public Object | eval(CallStack callstack, Interpreter interpreter)
Overrides bsh. |
| baseType | back to summary |
|---|---|
| public Class<T> baseType | |
| definedDimensions | back to summary |
|---|---|
| public int[] definedDimensions The Length in each defined dimension. This value set by the eval() Since the values can come from Expressions we should be re-eval()d each time. | |
| numDefinedDims | back to summary |
|---|---|
| public int numDefinedDims | |
| numUndefinedDims | back to summary |
|---|---|
| public int numUndefinedDims | |
| BSHArrayDimensions | back to summary |
|---|---|
| pack-priv BSHArrayDimensions(int id) | |
| addDefinedDimension | back to summary |
|---|---|
| public void addDefinedDimension() | |
| addUndefinedDimension | back to summary |
|---|---|
| public void addUndefinedDimension() | |
| eval | back to summary |
|---|---|
| public Object eval(Class<T> type, CallStack callstack, Interpreter interpreter) throws EvalError | |
| eval | back to summary |
|---|---|
| public Object eval(CallStack callstack, Interpreter interpreter) throws EvalError Overrides bsh. Evaluate the structure of the array in one of two ways: a) an initializer exists, evaluate it and return the fully constructed array object, also record the dimensions of that array b) evaluate and record the lengths in each dimension and return void. The structure of the array dims is maintained in dimensions. | |