Glossary:
com.pcbsys.nirvana.client.nEventPropertiesIterator Class Reference
This class allows you to iterate through the nEventProperties to examine the key,value pairsThe iterator will either be constructed from the DictionaryEntry items, the key set or the values set of the nEventProperties object
To use the entry set iterator call the getEntrySet() method on the nEventProperties object:
nEventPropertiesIterator it = prop.getEntrySet();
while (it.MoveNext() ) {
DictionaryEntry next = it.Entry;
Object key = next.Key;
Object value = prop.get(key);
}
Public Member Functions | |
| Boolean | MoveNext () |
| Advance to the next item. | |
| void | Reset () |
| Validate the IEnumerator index and throw an exception if the index is out of range. | |
Properties | |
| Object | Current [get] |
| Return the item at the current index. | |
| DictionaryEntry | Entry [get] |
| Return the current dictionary entry. | |
| Object | Key [get] |
| Return the key of the current item. | |
| Object | Value [get] |
| Return the value of the current item. | |
Detailed Description
This class allows you to iterate through the nEventProperties to examine the key,value pairsThe iterator will either be constructed from the DictionaryEntry items, the key set or the values set of the nEventProperties object
To use the entry set iterator call the getEntrySet() method on the nEventProperties object:
nEventPropertiesIterator it = prop.getEntrySet();
while (it.MoveNext() ) {
DictionaryEntry next = it.Entry;
Object key = next.Key;
Object value = prop.get(key);
}
Member Function Documentation
| void com.pcbsys.nirvana.client.nEventPropertiesIterator.Reset | ( | ) |
Validate the IEnumerator index and throw an exception if the index is out of range.
Reset the index to restart the IEnumerator.
