com.fdsapi
Class TabularData2DimArray

java.lang.Object
  |
  +--com.fdsapi.TabularDataBase
        |
        +--com.fdsapi.TabularData2DimArray
All Implemented Interfaces:
java.io.Serializable, TabularData

public class TabularData2DimArray
extends TabularDataBase

TabularData for Object[][] that allows the FormattedDataSet to support them.

View Code

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.fdsapi.TabularDataBase
colIterator, rowIterator
 
Fields inherited from interface com.fdsapi.TabularData
NOTUSED
 
Constructor Summary
  TabularData2DimArray()
           
  TabularData2DimArray(java.lang.Object[][] data)
           
protected TabularData2DimArray(java.lang.Object[][] data, int numRows, int numCols)
           
 
Method Summary
 TabularData createInstance(java.lang.Object data)
          Factory method that returns a TabularData instance.
 java.lang.Object getCellData()
          Return current cell data (the current row and current column)
 java.lang.Object getCellData(int col)
          Return cell data in the current rows specified column
 
Methods inherited from class com.fdsapi.TabularDataBase
createColIterator, createRowIterator, getColIterator, getHeader, getRowIterator, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabularData2DimArray

public TabularData2DimArray()

TabularData2DimArray

public TabularData2DimArray(java.lang.Object[][] data)

TabularData2DimArray

protected TabularData2DimArray(java.lang.Object[][] data,
                               int numRows,
                               int numCols)
Method Detail

getCellData

public java.lang.Object getCellData(int col)
Description copied from interface: TabularData
Return cell data in the current rows specified column

Specified by:
getCellData in interface TabularData
Specified by:
getCellData in class TabularDataBase

getCellData

public java.lang.Object getCellData()
Description copied from interface: TabularData
Return current cell data (the current row and current column)

Specified by:
getCellData in interface TabularData
Specified by:
getCellData in class TabularDataBase

createInstance

public TabularData createInstance(java.lang.Object data)
Description copied from interface: TabularData
Factory method that returns a TabularData instance. The passed object is the underlying data that will be iterated (i.e. ResultSet, Object[][] etc)

Specified by:
createInstance in interface TabularData
Specified by:
createInstance in class TabularDataBase