|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj.ContainedObjectsIterator
protected class NamedObj.ContainedObjectsIterator
This class is an iterator over all the contained objects (all instances of NamedObj). In this base class, the contained objects are attributes. In derived classes, they include ports, relations, and entities as well.
Field Summary | |
---|---|
private java.util.Iterator<?> |
_attributeListIterator
|
Constructor Summary | |
---|---|
NamedObj.ContainedObjectsIterator()
Create an iterator over all the contained objects. |
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()
Throw a UnsupportedOperationException because remove() is not supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Iterator<?> _attributeListIterator
Constructor Detail |
---|
public NamedObj.ContainedObjectsIterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |