public class DsIterator
extends java.lang.Object
Description: 数据集迭代嚣
Title:首亨软件 - TSS/CRM等
构造器和说明 |
---|
DsIterator(Datastore ds) |
DsIterator(Datastore ds,
int rowNo) |
限定符和类型 | 方法和说明 |
---|---|
void |
forEach(java.util.function.BiConsumer<? super RowInfo,? super DsIterator> action) |
void |
forEach(java.util.function.Consumer<? super RowInfo> action) |
RowInfo |
getCurRowInfo() |
RowInfo |
getRowInfoByRowNo(int rowNo) |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
hasTerminate() |
boolean |
isFirstRow()
是否第一行
|
boolean |
isLastRow() |
RowInfo |
next() |
boolean |
previous() |
int |
rowCount() |
int |
rowNo() |
RowInfo |
setRowNo(int rowNo)
修改当前的索引号
|
void |
terminate() |
public DsIterator(Datastore ds)
public DsIterator(Datastore ds, int rowNo)
public boolean hasNext()
public RowInfo next()
public RowInfo setRowNo(int rowNo)
rowNo
- 行号,从1开始public boolean previous()
public boolean hasPrevious()
public int rowNo()
public void terminate()
public boolean hasTerminate()
public boolean isFirstRow()
public int rowCount()
public boolean isLastRow()
public RowInfo getCurRowInfo()
public RowInfo getRowInfoByRowNo(int rowNo)
public void forEach(java.util.function.Consumer<? super RowInfo> action)
public void forEach(java.util.function.BiConsumer<? super RowInfo,? super DsIterator> action)