public class SingleIterator<T> extends Object implements Iterator<T>
SingleIterator
is an Iterator
over a single object
instance.
Constructor and Description |
---|
SingleIterator(T object) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
Copyright © 2020. All rights reserved.