T
- the value type@NotThreadSafe public class SingleIterator<T> extends Object implements Iterator<T>
Iterator
that is used to iterate over a single, fixed value.Constructor and Description |
---|
SingleIterator(T value) |
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 © 2008–2016 JBoss, a division of Red Hat. All rights reserved.