Debian Codegraph @

net/sf/saxon/z/IntIterator.java

raw symbols SCIP
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2018 Saxonica Limited.
3 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
6 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7
8 package net.sf.saxon.z;
9
10 /**
11 * An iterator over a sequence of unboxed int values
12 */
13 public interface IntIterator {
14
15 /**
16 * Test whether there are any more integers in the sequence
17 *
18 * @return true if there are more integers to come
19 */
20
21 boolean hasNext();
22
23 /**
24 * Return the next integer in the sequence. The result is undefined unless hasNext() has been called
25 * and has returned true.
26 *
27 * @return the next integer in the sequence
28 */
29
30 int next();
31 }