private static class AttributeList.AttributeIterator
extends java.lang.Object
implements java.util.Iterator
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator |
backend
The backend is an iterator over the attribute entries.
|
Constructor and Description |
---|
AttributeIterator(java.util.Iterator backend)
Creates a new attribute iterator using the given iterator as backend.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
java.lang.Object |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the
iterator (optional operation).
|
private java.util.Iterator backend
public AttributeIterator(java.util.Iterator backend)
backend
- an iterator over the attribute entries (null
not permitted).public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator