org.excel4j.object
Class XLArray

java.lang.Object
  extended by org.excel4j.XLObject
      extended by org.excel4j.object.XLArray

public class XLArray
extends XLObject

The contents of a range.


Field Summary
 
Fields inherited from class org.excel4j.XLObject
handle, xltype
 
Method Summary
 int columns()
          Get the number of columns in the array.
 XLObject get(int row, int column)
          Get an array element.
 int rows()
          Get the number of rows in the array.
 void set(int row, int column, XLObject value)
          Set an array element.
 
Methods inherited from class org.excel4j.XLObject
asArray, asBoolean, asError, asInteger, asNumber, asString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rows

public int rows()
Get the number of rows in the array.

Returns:
int.

columns

public int columns()
Get the number of columns in the array.

Returns:
int.

get

public XLObject get(int row,
                    int column)
Get an array element.

Parameters:
row. -
column. -
Returns:
XLObject.

set

public void set(int row,
                int column,
                XLObject value)
Set an array element.

Parameters:
row. -
column. -
value. -