public final class AndFilter extends CompositeFilter
Constructor and Description |
---|
AndFilter(Filter left,
Filter right)
And the the left and right filters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Ands the left and right filters.
|
boolean |
accept(EmbeddedObject obj)
Ands the left and right filters.
|
java.lang.String |
toString() |
getLeft, getRight
public boolean accept(ConnectorObject obj)
obj
- - The specified ConnectorObject
.true
if the object matches
(that is, satisfies all selection criteria of) this filter;
otherwise false
.Filter.accept(ConnectorObject)
public boolean accept(EmbeddedObject obj)
obj
- - The specified EmbeddedObject
.true
if the object matches
(that is, satisfies all selection criteria of) this filter;
otherwise false
.Filter.accept(EmbeddedObject)
public java.lang.String toString()
toString
in class java.lang.Object