|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.latencybusters.lbm.sdm.LBMSDMFieldIterator
public class LBMSDMFieldIterator
An iterator for field sets. This allows applications to iterate over every field in an SDM message/field set
| Constructor Summary | |
|---|---|
LBMSDMFieldIterator(LBMSDMFields f)
Create an iterator for a set of SDM fields. |
|
| Method Summary | |
|---|---|
void |
add_element(LBMSDMField newfield)
Add the SDM array element |
LBMSDMField |
get()
Get the SDM field at the current position |
boolean |
hasNext()
Check to see if there is another item in the collection |
LBMSDMField |
next()
Move to the next field in the collection |
void |
remove()
Remove the current item from the collection |
void |
reset()
Reset the iterator back to the beginning |
void |
Reset()
Reset the iterator back to the beginning |
void |
set(LBMSDMField newfield)
Set the SDM array element |
void |
set(LBMSDMField newfield,
int element)
Set the SDM array element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LBMSDMFieldIterator(LBMSDMFields f)
f - The field set to be iterated over| Method Detail |
|---|
public LBMSDMField get()
public void add_element(LBMSDMField newfield)
throws LBMSDMException
newfield - The new field to be set
LBMSDMException
public void set(LBMSDMField newfield)
throws LBMSDMException
newfield - The new field to be set
LBMSDMException
public void set(LBMSDMField newfield,
int element)
throws LBMSDMException
newfield - The new field to be setelement - the array index to set
LBMSDMExceptionpublic LBMSDMField next()
next in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic void reset()
public void Reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||