orbiter 19 years ago
parent ba669887e4
commit 60fc34d9e8

@ -904,7 +904,7 @@ public class kelondroTree extends kelondroRecords implements Comparator, kelondr
} }
public boolean hasNext() { public boolean hasNext() {
return (rot) || (nextNode != null); return (rot && (size() > 0)) || (nextNode != null);
} }
public Object next() { public Object next() {

Loading…
Cancel
Save