UM Java API
6.16.1
|
Public Member Functions | |
LBMSDMFieldIterator (LBMSDMFields f) | |
LBMSDMField | get () |
void | add_element (LBMSDMField newfield) throws LBMSDMException |
void | set (LBMSDMField newfield) throws LBMSDMException |
void | set (LBMSDMField newfield, int element) throws LBMSDMException |
LBMSDMField | next () |
boolean | hasNext () |
void | remove () |
void | reset () |
void | Reset () |
An iterator for field sets. This allows applications to iterate over every field in an SDM message/field set
com.latencybusters.lbm.sdm.LBMSDMFieldIterator.LBMSDMFieldIterator | ( | LBMSDMFields | f | ) |
Create an iterator for a set of SDM fields.
f | The field set to be iterated over |
void com.latencybusters.lbm.sdm.LBMSDMFieldIterator.add_element | ( | LBMSDMField | newfield | ) | throws LBMSDMException |
Add the SDM array element
newfield | The new field to be set |
References com.latencybusters.lbm.sdm.LBMSDMField.add_element().
LBMSDMField com.latencybusters.lbm.sdm.LBMSDMFieldIterator.get | ( | ) |
Get the SDM field at the current position
References com.latencybusters.lbm.sdm.LBMSDMFields.get().
boolean com.latencybusters.lbm.sdm.LBMSDMFieldIterator.hasNext | ( | ) |
Check to see if there is another item in the collection
References com.latencybusters.lbm.sdm.LBMSDMFields.length().
Referenced by com.latencybusters.lbm.sdm.LBMSDMessage.data(), and com.latencybusters.lbm.sdm.LBMSDMFields.locate().
LBMSDMField com.latencybusters.lbm.sdm.LBMSDMFieldIterator.next | ( | ) |
Move to the next field in the collection
Referenced by com.latencybusters.lbm.sdm.LBMSDMessage.data(), and com.latencybusters.lbm.sdm.LBMSDMFields.locate().
void com.latencybusters.lbm.sdm.LBMSDMFieldIterator.remove | ( | ) |
Remove the current item from the collection
References com.latencybusters.lbm.sdm.LBMSDMFields.remove().
void com.latencybusters.lbm.sdm.LBMSDMFieldIterator.reset | ( | ) |
Reset the iterator back to the beginning
void com.latencybusters.lbm.sdm.LBMSDMFieldIterator.Reset | ( | ) |
Reset the iterator back to the beginning
void com.latencybusters.lbm.sdm.LBMSDMFieldIterator.set | ( | LBMSDMField | newfield | ) | throws LBMSDMException |
Set the SDM array element
newfield | The new field to be set |
References com.latencybusters.lbm.sdm.LBMSDMFields.set().
void com.latencybusters.lbm.sdm.LBMSDMFieldIterator.set | ( | LBMSDMField | newfield, |
int | element | ||
) | throws LBMSDMException |
Set the SDM array element
newfield | The new field to be set |
element | the array index to set |
References com.latencybusters.lbm.sdm.LBMSDMFields.set().