|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ckkloverdos.filter.OrFilter
public class OrFilter
An implementation of IFilter
providing boolean OR
semantics between two other filters.
Constructor Summary | |
---|---|
OrFilter(IFilter a,
IFilter b)
Constructs an AndFilter that will combine filters a
and b with boolean OR. |
Method Summary | |
---|---|
boolean |
accept(java.lang.Object object,
java.lang.Object hints)
Tests if object is accepted according to this filter semantics (boolean OR). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrFilter(IFilter a, IFilter b)
AndFilter
that will combine filters a
and b
with boolean OR.
a
- b
- Method Detail |
---|
public boolean accept(java.lang.Object object, java.lang.Object hints)
object
is accepted according to this filter semantics (boolean OR).
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 |