Alachisoft.NCache.Common.DataStructures.SRTreeEnumerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package Alachisoft.NCache.Common.DataStructures;
public class SRTreeEnumerator {
private java.util.ArrayList _list;
private java.util.Iterator _ide;
public SRTreeEnumerator(java.util.ArrayList list) {
_list = list;
_ide = _list.iterator();
}
public final boolean MoveNext() {
try {
return _ide.hasNext();
} catch (RuntimeException e) {
return false;
}
}
public final Object getCurrent() {
return _ide.next();
}
public final void Reset() {
_ide = _list.iterator();
}
}