nsIEnumerator
From MDC
Broken interface, don't use unless you have to. The interface commonly used for enumerators is nsISimpleEnumerator.
[edit] Sample usage
var iter = --------();
try {
iter.first();
do {
var data = iter.currentItem();
if( data instanceof Ci.nsI------ ) {
...
...
}
iter.next();
} while( Components.lastResult == 0 );
} catch(e) {}
Search for e-mail from "Warren Harris" dated 04/21/1999 time 16:11:03 for some notes on the subject.
You may need to use the Google cache, since this version doesn't seem to be working so well.