org.crosswire.jsword.index.query
Class AbstractBinaryQuery

java.lang.Object
  extended by org.crosswire.jsword.index.query.AbstractBinaryQuery
All Implemented Interfaces:
BinaryQuery, Query
Direct Known Subclasses:
AndNotQuery, AndQuery, BlurQuery, OrQuery

public abstract class AbstractBinaryQuery
extends Object
implements BinaryQuery

A binary query has a left query and right query.

Author:
DM Smith [dmsmith555 at yahoo dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Field Summary
private  Query leftQuery
           
private  Query rightQuery
           
 
Constructor Summary
AbstractBinaryQuery(Query theLeftQuery, Query theRightQuery)
          Create a query consisting of two queries.
 
Method Summary
 Query getLeftQuery()
           
 Query getRightQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.crosswire.jsword.index.query.Query
find
 

Field Detail

leftQuery

private Query leftQuery

rightQuery

private Query rightQuery
Constructor Detail

AbstractBinaryQuery

public AbstractBinaryQuery(Query theLeftQuery,
                           Query theRightQuery)
Create a query consisting of two queries.

Parameters:
theLeftQuery -
theRightQuery -
Method Detail

getLeftQuery

public Query getLeftQuery()
Specified by:
getLeftQuery in interface BinaryQuery
Returns:
Returns the leftQuery.

getRightQuery

public Query getRightQuery()
Specified by:
getRightQuery in interface BinaryQuery
Returns:
Returns the rightQuery.

Copyright ยจ 2003-2006