public class FSIteratorWrapper<T extends FeatureStructure> extends FSIteratorImplBase<T>
FSIteratorImplBase.AnnotationComparator<T extends FeatureStructure>| Modifier and Type | Method and Description |
|---|---|
FSIterator<T> |
copy()
Copy this iterator.
|
T |
get()
Get the structure the iterator is pointing at.
|
boolean |
isValid()
Check if this iterator is valid.
|
void |
moveTo(FeatureStructure fs)
Move the iterator to the first features structure that is equal to
fs. |
void |
moveToFirst()
Move the iterator to the first element.
|
void |
moveToLast()
Move the iterator to the last element.
|
void |
moveToNext()
Advance the iterator.
|
void |
moveToPrevious()
Move the iterator one element back.
|
hasNext, next, removepublic boolean isValid()
FSIteratortrue if the iterator is valid.FSIterator.isValid()public T get()
FSIteratorFSIterator.get()public void moveToNext()
FSIteratorFSIterator.moveToNext()()public void moveToPrevious()
FSIteratorFSIterator.moveToPrevious()()public void moveToFirst()
FSIteratorFSIterator.moveToFirst()public void moveToLast()
FSIteratorFSIterator.moveToLast()public FSIterator<T> copy()
FSIteratorFSIterator.copy()public void moveTo(FeatureStructure fs)
FSIteratorfs. If no
such feature structure exists in the underlying collection, set the iterator to the "insertion
point" for fs, i.e., to a point where the current feature structure is greater
than fs, and the previous one is less than fs.fs - The feature structure the iterator should be set to.FSIterator.moveTo(FeatureStructure)Copyright © 2013. All Rights Reserved.