|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ckkloverdos.filter.AndFilter
public class AndFilter
An implementation of IFilter
providing boolean AND
semantics between two other filters.
Constructor Summary | |
---|---|
AndFilter(IFilter a,
IFilter b)
Constructs an AndFilter that will combine filters a
and b with boolean AND. |
Method Summary | |
---|---|
boolean |
accept(java.lang.Object object,
java.lang.Object hints)
Tests if object is accepted according to this filter semantics (boolean AND). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndFilter(IFilter a, IFilter b)
AndFilter
that will combine filters a
and b
with boolean AND.
a
- b
- Method Detail |
---|
public boolean accept(java.lang.Object object, java.lang.Object hints)
object
is accepted according to this filter semantics (boolean AND).
If hints
is an instance of BinaryHint
, then each one of the
binary hint's components is passed to the first and second filters respectively.
Otherwise, the same hints
object is passed to both filters.
accept
in interface IFilter
object
- hints
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |