| Modifier and Type | Method and Description |
|---|---|
| public Filter | |
| public List | |
| public T | |
| public boolean | |
| public Filter | Returns: a Filter that returns all content except what this Filter instance would.Creates an 'inverse' filter |
| public Filter | |
| public < The Generic type of the returned data is taken from the input
instance. R> Filter | Returns: A Filter that requires content to both match our instance and the refining instance, but the generic type of the returned data is based on the refining instance, not this instance.The filter to refine our results with. filter)This is similar to the and(Filter) method except the generic type is different. |
| and | back to summary |
|---|---|
| public Filter Creates an ANDing filter. The generic type of the result is the same as this Filter. | |
| filter | back to summary |
|---|---|
| public List Filter the input list keeping only the items that match the Filter. | |
| filter | back to summary |
|---|---|
| public T filter(Object content) Check to see if the content matches this Filter. If it does, return the content cast as this filter's return type, otherwise return null.
| |
| matches | back to summary |
|---|---|
| public boolean matches(Object content) Check to see if the object matches a predefined set of rules.
| |
| negate | back to summary |
|---|---|
| public Filter Creates an 'inverse' filter | |
| or | back to summary |
|---|---|
| public Filter Creates an ORing filter | |
| refine | back to summary |
|---|---|
| public <R> Filter This is similar to the and(Filter) method except the generic type is different.
| |