T - the element typepublic class SingletonIterator<T> extends ReadOnlyIterator<T>
| Constructor and Description |
|---|
SingletonIterator(T element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
removeCopyright © 2013. All rights reserved.