com.pcbsys.nirvana.client.nEventPropertiesIterator Class Reference

This class allows you to iterate through the nEventProperties to examine the key,value pairs

The 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);
               }
. More...


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 pairs

The 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);
               }
.

nEventProperties


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.