org.crosswire.jsword.index.query
Class NullQuery
java.lang.Object
org.crosswire.jsword.index.query.NullQuery
- All Implemented Interfaces:
- Query
public class NullQuery
- extends Object
- implements Query
A null query searches for nothing and returns an empty Key.
- Author:
- DM Smith
- See Also:
for license details.
The copyright to this program is held by it's authors.
Constructor Summary |
NullQuery()
Create a NullQuery. |
Method Summary |
Key |
find(Index index)
Find the keys that match the query in the index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullQuery
public NullQuery()
- Create a NullQuery.
find
public Key find(Index index)
throws BookException
- Description copied from interface:
Query
- Find the keys that match the query in the index
- Specified by:
find
in interface Query
- Parameters:
index
- the index to search
- Returns:
- the set of keys that match
- Throws:
BookException