| Constructor and Description |
|---|
SingleItemIterator()
Instantiates a new Single item iterator.
|
SingleItemIterator(T item)
Instantiates a new Single item iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Iterator<T> |
iterator() |
T |
next() |
void |
remove() |
void |
reset()
Reset void.
|
void |
reset(T newItem)
Reset void.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic SingleItemIterator()
public SingleItemIterator(T item)
item - the itempublic void reset()
public void reset(T newItem)
newItem - the new itemCopyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.