com.google.inject.query
Class AbstractQuery<T>

java.lang.Object
  extended by com.google.inject.query.AbstractQuery<T>
All Implemented Interfaces:
Query<T>

public abstract class AbstractQuery<T>
extends java.lang.Object
implements Query<T>

Implements and() and or().

Author:
crazybob@google.com (Bob Lee)

Constructor Summary
AbstractQuery()
           
 
Method Summary
 Query<T> and(Query<? super T> other)
          Returns a query which returns true if both this and the given query return true.
 Query<T> or(Query<? super T> other)
          Returns a query which returns true if either this or the given query return true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.inject.query.Query
matches
 

Constructor Detail

AbstractQuery

public AbstractQuery()
Method Detail

and

public Query<T> and(Query<? super T> other)
Description copied from interface: Query
Returns a query which returns true if both this and the given query return true.

Specified by:
and in interface Query<T>

or

public Query<T> or(Query<? super T> other)
Description copied from interface: Query
Returns a query which returns true if either this or the given query return true.

Specified by:
or in interface Query<T>