Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't repeat last term

  • Loading branch information...
commit cb0fcbe475f247082802fd7fcef6d5687bcbc088 1 parent e94db80
@tjake authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/lucandra/LucandraTermEnum.java
View
6 src/lucandra/LucandraTermEnum.java
@@ -103,6 +103,12 @@ public boolean next() throws IOException
currentTermEntry = null;
return false;
}
+ else
+ {
+ termView = termView.tailMap(currentTermEntry.getKey(), false);
+ currentTermEntry = termView.firstEntry();
+ }
+
}
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.