public class DataSourceSequence<P extends Number> extends Object
STextualDS.getText() "This
is a sample text.", a DataSourceSequence object needs to be
initialized like this: getStart() =10, getEnd() = 16 and
getDataSource() = the data source containing the entire text. | Modifier and Type | Class and Description |
|---|---|
static class |
DataSourceSequence.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected SSequentialDS |
dataSource
data source which is addressed by this sequence
|
protected P |
end
end value for this sequence
|
protected P |
start
start value for this sequence
|
| Constructor and Description |
|---|
DataSourceSequence() |
DataSourceSequence(SSequentialDS dataSource,
P start,
P end) |
| Modifier and Type | Method and Description |
|---|---|
SSequentialDS |
getDataSource() |
P |
getEnd() |
P |
getStart() |
void |
setDataSource(SSequentialDS dataSource) |
void |
setEnd(P end) |
void |
setStart(P start) |
String |
toString() |
protected SSequentialDS dataSource
public DataSourceSequence()
public DataSourceSequence(SSequentialDS dataSource, P start, P end)
public P getStart()
public void setStart(P start)
start - start value of this sequencepublic P getEnd()
public void setEnd(P end)
public SSequentialDS getDataSource()
public void setDataSource(SSequentialDS dataSource)
dataSource - data source which is addressed by this sequenceCopyright © 2009–2020 Humboldt-Universität zu Berlin, INRIA. All rights reserved.