| 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, waitforEachRemainingforEach, spliteratorpublic void set(E current)
current - The element to make available to the iterator.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.