Package net.sf.saxon.z
Class PositiveIntIteratorOverIntIterator
java.lang.Object
net.sf.saxon.z.PositiveIntIteratorOverIntIterator
- All Implemented Interfaces:
PositiveIntIterator
An iterator over a sequence of positive int values, returning -1 to indicate the end of the sequence.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintnext()Return the next positive integer in the sequence, or -1 if the sequence is exhausted.
-
Constructor Details
-
PositiveIntIteratorOverIntIterator
-
-
Method Details
-
next
public int next()Return the next positive integer in the sequence, or -1 if the sequence is exhausted.- Specified by:
nextin interfacePositiveIntIterator- Returns:
- the next integer in the sequence, or -1 if the sequence is exhausted.
-