public class AttributeChangeIterator extends java.lang.Object implements java.util.Iterator<AttributeChangeOperation>
| Constructor and Description |
|---|
AttributeChangeIterator(java.util.Collection<AttributeChangeOperation> collection)
Creates new AttributeChangeIterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Determines whether there is another element in the sequence
|
AttributeChangeOperation |
next()
Gets the next element in the sequence and advances the iterator
|
void |
remove()
Remove the last element returned by the iterator.
|
public AttributeChangeIterator(java.util.Collection<AttributeChangeOperation> collection)
collection - Collection of AttributeChangeOperationpublic boolean hasNext()
hasNext in interface java.util.Iterator<AttributeChangeOperation>public AttributeChangeOperation next()
next in interface java.util.Iterator<AttributeChangeOperation>public void remove()
throws java.lang.IllegalStateException
remove in interface java.util.Iterator<AttributeChangeOperation>java.lang.IllegalStateException - if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.