T
- the element typepublic interface Enumerable<T>
next()
to
advance the iteration and current()
to return the current element. An example
from normal Java for such
kind of iteration is the java.sql.ResultSet
.Modifier and Type | Method and Description |
---|---|
Enumerator<T> |
enumerator() |
Enumerator<T> enumerator()