implement grow() for spatial3d intersector: easy speedup

This commit is contained in:
Robert Muir 2016-04-24 20:09:05 -04:00
parent 81d5ce884b
commit 4ea4adc210
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ class PointInShapeIntersectVisitor implements IntersectVisitor {
this.shapeBounds = shapeBounds;
}
@Override
public void grow(int count) {
hits.grow(count);
}
@Override
public void visit(int docID) {
hits.add(docID);