public abstract class CompoundFilter<T> extends Object implements Filter<T>, Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Filter<T> |
filter1
The first
Filter used to accept the value. |
protected Filter<T> |
filter2
The second
Filter used to accept the value. |
| Modifier | Constructor and Description |
|---|---|
protected |
CompoundFilter(Filter<T> filter1,
Filter<T> filter2)
Creates a new
CompoundFilter that will "accept" any object that is accept by both
of the specified wrapped filters. |
| Modifier and Type | Method and Description |
|---|---|
CompoundFilter<T> |
clone() |
boolean |
equals(Object object) |
Filter<T> |
getFilter1()
Returns the left
Filter of this compound filter. |
Filter<T> |
getFilter2()
Returns the second
Filter of this compound filter. |
int |
hashCode() |
protected abstract String |
operatorString()
Returns a string representation of the filter's operator.
|
String |
toString() |
protected CompoundFilter(Filter<T> filter1, Filter<T> filter2)
CompoundFilter that will "accept" any object that is accept by both
of the specified wrapped filters.filter1 - The first Filter used to accept the valuefilter2 - The second Filter used to accept the valuepublic CompoundFilter<T> clone()
public Filter<T> getFilter1()
Filter of this compound filter.Filterpublic Filter<T> getFilter2()
Filter of this compound filter.Filterprotected abstract String operatorString()
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.