New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document query-related interfaces #326
Conversation
Note: I did not write javadoc for |
e473039
to
66f2fc6
Compare
I'm going to look into the locator package to see if that might give more insight as to the various ways that |
To be honest I am not a fan of the In any case, can you show me with code what your suggestion is for the inheritance of |
Ah! Haha... I didn't realize they had 2 different return types 😄 |
66f2fc6
to
9c078e9
Compare
Why doesn't |
Neither am I. I think I read somewhere that this is an anti-pattern, but I can't recall all that it said. |
The |
17c20e6
to
57103ea
Compare
57103ea
to
04213e0
Compare
Merged. Thanks a lot. |
I believe
PointQuery
should extendBoundsQuery
(since that provides the initialquery
method) and should better clarifies what its query method method does. There is noPointQueryImpl
becauseBoundsQueryImpl
is the actual implementation used for thePointQuery
interface.Why then does the
BoundsQuery
interface exist? I have no idea. Perhaps to prevent any changes to the implementation's position or offset values.