org.crosswire.jsword.index.query
Class OrQuery

java.lang.Object
  extended by org.crosswire.jsword.index.query.AbstractBinaryQuery
      extended by org.crosswire.jsword.index.query.OrQuery
All Implemented Interfaces:
Query

public class OrQuery
extends AbstractBinaryQuery

An OR query specifies that a result is the union of 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
OrQuery(Query theLeftQuery, Query theRightQuery)
           
 
Method Summary
 Key find(Index index)
           
 
Methods inherited from class org.crosswire.jsword.index.query.AbstractBinaryQuery
getLeftQuery, getRightQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrQuery

public OrQuery(Query theLeftQuery,
               Query theRightQuery)
Method Detail

find

public Key find(Index index)
         throws BookException
Throws:
BookException

Copyright ? 2003-2006