Class ArrayNode
java.lang.Object
com.grapecity.documents.excel.expressions.SyntaxNode
com.grapecity.documents.excel.expressions.TerminalNode
com.grapecity.documents.excel.expressions.ConstNode
com.grapecity.documents.excel.expressions.ArrayNode
Represents an array literal in the syntax tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object[][]Gets the elements of this node as a two-dimensional array.final voidsetElements(Object[][] value) Array elements of this node.Methods inherited from class com.grapecity.documents.excel.expressions.TerminalNode
getChildren
-
Constructor Details
-
ArrayNode
Creates a newArrayNodefrom array.- Parameters:
elements- Array elements. The value can't benull(Nothing).
-
-
Method Details
-
getElements
Gets the elements of this node as a two-dimensional array. The value can't benull.Supported types:
double,String,boolean,CalcError.The following types will be normalized to
doubleif you convert theArrayNodetostringand then convert it back:byte,short,int,long,float.Floating-point types can't be NaN or infinity.
- Returns:
- A two-dimensional array containing the elements of this node.
-
setElements
Array elements of this node. The value can't benull.Supported types:
double,String,boolean,CalcError.The following types will be normalized to
doubleif you convert theArrayNodetostringand then convert it back:byte,short,int,long,float.Floating-point types can't be NaN or infinity.
- Parameters:
value- A two-dimensional array containing the elements to be set for this node.
-