| Constructor and Description |
|---|
StateAwareIterator(Iterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Asks underlying iterator if there is next element available.
|
T |
next()
Provides next element of iteration given by begin, end and step properties
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
Iterator.next() for underlying iterator in order to determine if there is next
element (especially when there are begin or step properties setup).public T next()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.