Class AbstractTextIterator
java.lang.Object
net.loomchild.segment.AbstractTextIterator
- All Implemented Interfaces:
Iterator<String>, TextIterator
- Direct Known Subclasses:
AccurateSrxTextIterator, FastTextIterator, ScannerSrxTextIterator, SrxTextIterator
Represents abstract text iterator. Responsible for implementing remove
operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidremove()Unsupported operation.toString(List<LanguageRule> languageRuleList) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemainingMethods inherited from interface TextIterator
hasNext, next
-
Constructor Details
-
AbstractTextIterator
public AbstractTextIterator()
-
-
Method Details
-
remove
public void remove()Unsupported operation.- Specified by:
removein interfaceIterator<String>- Specified by:
removein interfaceTextIterator
-
toString
-