public class MonoIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
MonoIterator(T thing)
Create an iterator of the single object supplied
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
T |
next()
Returns the next element in the iteration.
|
public MonoIterator(T thing)
thing - the object to be iterated overpublic boolean hasNext()
hasNext in interface java.util.Iterator<T>Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.