| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(T
The value to filter value)Implements org. |
| public static <T> Filter | Returns: A new chain ofAndFilters that will "accept" any object when all
filters accepts the objectThe list of filters)filters encapsulated by a chain of AndFiltersCreates a new |
| public AndFilter | clone()
Overrides org. |
| protected String | operatorString()
Implements abstract org. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. The version number of this class which is used during deserialization to verify that the sender and receiver of a serialized object have loaded classes for that object that are compatible with respect to serialization. | |
| AndFilter | back to summary |
|---|---|
| public AndFilter(Filter<T> filter1, Filter<T> filter2) Creates a new | |
| accept | back to summary |
|---|---|
| public boolean accept(T value) Implements org. Doc from org. Determines whether the specified object is "accepted" by the filter. The semantics of "accept" is determined by the contract between the client and the server.
| |
| and | back to summary |
|---|---|
| public static <T> Filter Creates a new
| |
| clone | back to summary |
|---|---|
| public AndFilter Overrides org. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| operatorString | back to summary |
|---|---|
| protected String operatorString() Implements abstract org. Doc from org. Returns a string representation of the filter's operator. | |