|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.kernel.util.NamedObj.ContainedObjectsIterator ptolemy.kernel.Entity.ContainedObjectsIterator ptolemy.actor.LazyTypedCompositeActor.ContainedObjectsIterator
protected class LazyTypedCompositeActor.ContainedObjectsIterator
This class is an iterator over all the contained objects (all instances of NamedObj) except those that have not yet been instantiated because of laziness. In this class, the contained objects are attributes first, then ports, then entities, then relations.
Field Summary | |
---|---|
private java.util.Iterator |
_classListIterator
|
private java.util.Iterator |
_entityListIterator
|
private java.util.Iterator |
_relationListIterator
|
Constructor Summary | |
---|---|
LazyTypedCompositeActor.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 |
Field Detail |
---|
private java.util.Iterator _classListIterator
private java.util.Iterator _entityListIterator
private java.util.Iterator _relationListIterator
Constructor Detail |
---|
public LazyTypedCompositeActor.ContainedObjectsIterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in class Entity.ContainedObjectsIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class Entity.ContainedObjectsIterator
public void remove()
remove
in interface java.util.Iterator
remove
in class Entity.ContainedObjectsIterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |