public abstract class OrTreeFilter extends TreeFilter
Classic shortcut behavior is used, so evaluation of the
TreeFilter.include(TreeWalk) method stops as soon as a true result is
obtained. Applications can improve filtering performance by placing faster
filters that are more likely to accept a result earlier in the list.
ALL, ANY_DIFF| Constructor | Description |
|---|---|
OrTreeFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
static TreeFilter |
create(Collection<TreeFilter> list) |
Create a filter around many filters, one of which must match.
|
static TreeFilter |
create(TreeFilter[] list) |
Create a filter around many filters, one of which must match.
|
static TreeFilter |
create(TreeFilter a,
TreeFilter b) |
Create a filter with two filters, one of which must match.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, include, negate, shouldBeRecursive, toStringpublic static TreeFilter create(TreeFilter a, TreeFilter b)
a - first filter to test.b - second filter to test.public static TreeFilter create(TreeFilter[] list)
list - list of filters to match against. Must contain at least 2
filters.public static TreeFilter create(Collection<TreeFilter> list)
list - list of filters to match against. Must contain at least 2
filters.Copyright © 2018. All rights reserved.