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.IteratorhasNext in class NamedObj.ContainedObjectsIteratorpublic java.lang.Object next()
next in interface java.util.Iteratornext in class NamedObj.ContainedObjectsIteratorpublic void remove()
remove in interface java.util.Iteratorremove in class NamedObj.ContainedObjectsIterator