public class ElementIterator extends Object
Constructor and Description |
---|
ElementIterator(Iterator it)
Creates a new instance of ElementIterator
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Indicates whether there are more Elements in the collection
|
Element |
next()
Returns the next available Element in the collection
|
public ElementIterator(Iterator it)
public boolean hasNext()
public Element next()