public class IntSingletonIterator extends java.lang.Object implements IntIterator
| Constructor and Description | 
|---|
IntSingletonIterator(int value)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
hasNext()
Test whether there are any more integers in the sequence 
 | 
int | 
next()
Return the next integer in the sequence. 
 | 
public boolean hasNext()
IntIteratorhasNext in interface IntIteratorpublic int next()
IntIteratornext in interface IntIteratorCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.