org.crosswire.jsword.index.query
Class NullQuery

java.lang.Object
  extended by 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
 

Constructor Detail

NullQuery

public NullQuery()
Create a NullQuery.

Method Detail

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

Copyright ? 2003-2011