public class IncludeIfCoversPredicate extends java.lang.Object implements java.util.function.Predicate<ExecutableSequence>
ExecutableSequence covers any of the classes in this predicate.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.Class<?>> |
coveredClasses
The set of classes to be covered.
|
| Constructor and Description |
|---|
IncludeIfCoversPredicate(java.util.Set<java.lang.Class<?>> coveredClasses)
Creates a predicate to test whether a sequence covers any of the given classes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(ExecutableSequence t) |
private java.util.Set<java.lang.Class<?>> coveredClasses
public IncludeIfCoversPredicate(java.util.Set<java.lang.Class<?>> coveredClasses)
coveredClasses - the set of classes to be coveredpublic boolean test(ExecutableSequence t)
test in interface java.util.function.Predicate<ExecutableSequence>