01: package net.sf.saxon.sort;
02:
03: /**
04: * An iterator over a sequence of unboxed int values
05: */
06: public interface IntIterator {
07:
08: /**
09: * Test whether there are any more integers in the sequence
10: */
11:
12: public boolean hasNext();
13:
14: /**
15: * Return the next integer in the sequence. The result is undefined unless hasNext() has been called
16: * and has returned true.
17: */
18:
19: public int next();
20: }
21:
22: //
23: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
24: // you may not use this file except in compliance with the License. You may obtain a copy of the
25: // License at http://www.mozilla.org/MPL/
26: //
27: // Software distributed under the License is distributed on an "AS IS" basis,
28: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
29: // See the License for the specific language governing rights and limitations under the License.
30: //
31: // The Original Code is: all this file.
32: //
33: // The Initial Developer of the Original Code is Michael H. Kay.
34: //
35: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
36: //
37: // Contributor(s): none.
38: //
|