|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object extended byptolemy.kernel.util.NamedObj.ContainedObjectsIterator extended byptolemy.kernel.Entity.ContainedObjectsIterator extended byptolemy.kernel.CompositeEntity.ContainedObjectsIterator
This class is an iterator over all the contained objects (all instances of NamedObj). In this class, the contained objects are attributes first, then ports, then entities, then relations.
| Constructor Summary | |
CompositeEntity.ContainedObjectsIterator()
Create an iterator over all the contained objects, which for CompositeEntities are attributes, ports, classes entities, and relations. |
|
| Method Summary | |
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(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompositeEntity.ContainedObjectsIterator()
| Method Detail |
public boolean hasNext()
hasNext in interface java.util.IteratorhasNext in class Entity.ContainedObjectsIteratorpublic java.lang.Object next()
next in interface java.util.Iteratornext in class Entity.ContainedObjectsIteratorpublic void remove()
remove in interface java.util.Iteratorremove in class Entity.ContainedObjectsIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||