public class CompoundFilter extends java.util.ArrayList<VariantContextFilter> implements VariantContextFilter
| Constructor and Description |
|---|
CompoundFilter(boolean requireAll)
A constructor that will determine if this compound filter will require that *all* the included filters pass
or *some* of them pass (depending on the requireAll parameter in the constructor).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(VariantContext variantContext)
Determines whether a VariantContext matches this filter
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic CompoundFilter(boolean requireAll)
requireAll - a boolean parameter determining whether this filter requires all its elements to pass (true) for
it to pass, or only one (false). If there are no variantfilters it will return true.public boolean test(VariantContext variantContext)
VariantContextFiltertest in interface VariantContextFiltervariantContext - the record to examine against the sub-filters