Constructor and Description |
---|
SingleElementIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Iterator<E> |
iterator() |
E |
next() |
void |
remove() |
void |
set(E current)
Resets the element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public void set(E current)
current
- The element to make available to the iterator.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.