Package net.sf.saxon.z
Interface PositiveIntIterator
- All Known Implementing Classes:
CsvParser.NormalizingIterator,PositiveIntIteratorOverIntIterator
public interface PositiveIntIterator
An iterator over a sequence of positive int values, returning -1 to indicate the end of the sequence.
Used primarily for iterating over the codepoints of a Unicode string.
-
Method Summary
Modifier and TypeMethodDescriptionintnext()Return the next positive integer in the sequence, or -1 if the sequence is exhausted.
-
Method Details
-
next
int next()Return the next positive integer in the sequence, or -1 if the sequence is exhausted.- Returns:
- the next integer in the sequence, or -1 if the sequence is exhausted.
-