protected class Entity.ContainedObjectsIterator extends NamedObj.ContainedObjectsIterator
Constructor and Description |
---|
ContainedObjectsIterator()
Create an iterator over all the contained objects, which
for Entities are attributes and then ports.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Return true if the iteration has more elements.
|
java.lang.Object |
next()
Return the next element in the iteration.
|
void |
remove()
The remove() method is not supported because is is not
supported in NamedObj.ContainedObjectsIterator.remove().
|
public ContainedObjectsIterator()
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in class NamedObj.ContainedObjectsIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class NamedObj.ContainedObjectsIterator
public void remove()
remove
in interface java.util.Iterator
remove
in class NamedObj.ContainedObjectsIterator