| java.lang.Object EDU.purdue.cs.bloat.editor.MultiArrayOperand
MultiArrayOperand | public class MultiArrayOperand (Code) | | MultiArrayOperand encapsulates the operands to the
multianewarray instruction. Each MultiArrayOperand
contains the type descriptor of the new multidimensional array the
instruction creates, as well as the number of dimensions in the array.
author: Nate Nystrom (author: href="mailto:nystrom@cs.purdue.edu">nystrom@cs.purdue.edu) |
Method Summary | |
public int | dimensions() Get the number of dimensions of the array. | public String | toString() Convert the operand to a string. | public Type | type() Get the element type of the array. |
MultiArrayOperand | public MultiArrayOperand(Type type, int dim)(Code) | | Constructor.
Parameters: type - The element type of the array. Parameters: dim - The number of dimensions of the array. |
dimensions | public int dimensions()(Code) | | Get the number of dimensions of the array.
The number of dimensions of the array. |
toString | public String toString()(Code) | | Convert the operand to a string.
A string representation of the operand. |
type | public Type type()(Code) | | Get the element type of the array.
The element type of the array. |
|
|