|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.actor.gt.GTIngredient.FieldIterator
protected static class GTIngredient.FieldIterator
An iterator to read the fields one by one in a string that describes the values of all the elements.
Red (tfeng) |
Yellow (tfeng) |
Field Summary | |
---|---|
private java.lang.String |
_values
The string containing the fields. |
Constructor Summary | |
---|---|
GTIngredient.FieldIterator(java.lang.String values)
Construct a field iterator. |
Method Summary | |
---|---|
boolean |
hasNext()
Return whether there is a next field. |
java.lang.String |
next()
Return the next field, if there is any, or null if the end of the string has been reached. |
void |
remove()
Throw a runtime exception because this method is not implemented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String _values
Constructor Detail |
---|
public GTIngredient.FieldIterator(java.lang.String values)
values
- The string containing the values in fields.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.String>
public java.lang.String next()
next
in interface java.util.Iterator<java.lang.String>
public void remove()
remove
in interface java.util.Iterator<java.lang.String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |