Package pl.sgjp.morfeusz
Class ResultsIterator
- java.lang.Object
-
- pl.sgjp.morfeusz.ResultsIterator
-
- All Implemented Interfaces:
java.util.Iterator<MorphInterpretation>
public class ResultsIterator extends java.lang.Object implements java.util.Iterator<MorphInterpretation>
Iterates through morphological analysis and synthesis results.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResultsIterator(pl.sgjp.morfeusz._ResultsIterator realIt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()MorphInterpretationnext()MorphInterpretationpeek()voidremove()Removing of elements from this iterator is not supported.
-
-
-
Method Detail
-
remove
public void remove()
Removing of elements from this iterator is not supported.- Specified by:
removein interfacejava.util.Iterator<MorphInterpretation>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<MorphInterpretation>
-
peek
public MorphInterpretation peek()
-
next
public MorphInterpretation next() throws java.util.NoSuchElementException
- Specified by:
nextin interfacejava.util.Iterator<MorphInterpretation>- Throws:
java.util.NoSuchElementException
-
-