|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.kernel.util.NamedObj.ContainedObjectsIterator
ptolemy.kernel.Entity.ContainedObjectsIterator
ptolemy.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 | |
protected |
CompositeEntity.ContainedObjectsIterator()
|
| 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()
Remove from the underlying collection the last element returned by the iterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected 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 | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||