org.crosswire.jsword.index.query
Class AndQuery
java.lang.Object
org.crosswire.jsword.index.query.AbstractBinaryQuery
org.crosswire.jsword.index.query.AndQuery
- All Implemented Interfaces:
- BinaryQuery, Query
public class AndQuery
- extends AbstractBinaryQuery
An AND query specifies that a result needs to be in both the left and the right query results.
- Author:
- DM Smith [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Constructor Summary |
AndQuery(Query theLeftQuery,
Query theRightQuery)
Create a query where the result is the intersection of two queries. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndQuery
public AndQuery(Query theLeftQuery,
Query theRightQuery)
- Create a query where the result is the intersection of two queries.
- Parameters:
theLeftQuery
- theRightQuery
-
find
public Key find(Index index)
throws BookException
- Throws:
BookException