public final class FirstRowDataSet extends AbstractDataSet
Constructor and Description |
---|
FirstRowDataSet(DataSet dataSet,
int firstRow)
Constructs a
FirstRowDataSet . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the DataSet and any resources it may be holding.
|
Row |
getRow() |
boolean |
next()
Moves forward to the next row.
|
decorateIdentity, getHeader, getSelectItems, indexOf, iterator, toObjectArrays, toRows, toString, toTableModel
classEquals, equals, hashCode
public FirstRowDataSet(DataSet dataSet, int firstRow)
FirstRowDataSet
.dataSet
- the dataset to wrapfirstRow
- the first row number (1-based).public void close()
AbstractDataSet
close
in interface Closeable
close
in interface AutoCloseable
close
in interface DataSet
close
in class AbstractDataSet
public Row getRow()
public boolean next()
DataSet
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.