Alachisoft.NCache.Common.DataStructures.SRTreeEnumerator Maven / Gradle / Ivy
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();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy