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() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2016. All rights reserved.