VariantContextFilter
, Serializable
, Cloneable
, Iterable<VariantContextFilter>
, Collection<VariantContextFilter>
, Predicate<VariantContext>
, List<VariantContextFilter>
, RandomAccess
public class CompoundFilter extends ArrayList<VariantContextFilter> implements VariantContextFilter
modCount
Constructor | 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 | Description |
---|---|---|
boolean |
test(VariantContext variantContext) |
containsAll, toString
equals, hashCode
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, trimToSize
parallelStream, stream
containsAll, equals, hashCode
public 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)
test
in interface Predicate<VariantContext>
variantContext
- the record to examine against the sub-filters