public class FeatureTypeStateLoop extends AbstractFeatureTypeWrapper
ftype| Constructor and Description |
|---|
FeatureTypeStateLoop(FeatureType ftype,
int stateNum) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Tests if next feature exists
|
Feature |
next()
Gets the next feature
|
boolean |
startScanFeaturesAt(DataSequence data,
int startPos,
int endPos)
Starts scanning features of the given segment of a sequence
|
getTypeID, needTraining, readTrainingResult, saveTrainingResult, setTypeID, supportSegment, trainpublic FeatureTypeStateLoop(FeatureType ftype, int stateNum)
public boolean startScanFeaturesAt(DataSequence data, int startPos, int endPos)
FeatureTypestartScanFeaturesAt in interface FeatureTypestartScanFeaturesAt in class AbstractFeatureTypeWrapperdata - the sequencestartPos - the start position of the segmentendPos - the end position of the segmentpublic boolean hasNext()
FeatureTypehasNext in interface FeatureTypehasNext in class AbstractFeatureTypeWrapperpublic Feature next()
FeatureTypenext in interface FeatureTypenext in class AbstractFeatureTypeWrapperCopyright © 2018 JULIE Lab, Germany. All rights reserved.