|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.latencybusters.pdm.PDMFieldIterator
public class PDMFieldIterator
The PDMFieldIterator is used to iterate through each PDMField
in a PDMMessage. Check isValueSet() before accessing its value
to determine if the PDMField has been set.
| Constructor Summary | |
|---|---|
protected |
PDMFieldIterator(java.util.HashMap<java.lang.Integer,PDMField> fieldMap)
Internal constructor called from a PDMMessage |
| Method Summary | |
|---|---|
boolean |
hasNext()
Checks to see if there is another element |
PDMField |
next()
Advances to the next element |
void |
remove()
Removing an element is not supported |
void |
reset()
Reset the iterator by creating a new one at the beginning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PDMFieldIterator(java.util.HashMap<java.lang.Integer,PDMField> fieldMap)
PDMMessage
fieldMap - | Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<PDMField>public PDMField next()
next in interface java.util.Iterator<PDMField>public void remove()
remove in interface java.util.Iterator<PDMField>public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||