private static final class ThreadUtils.AlwaysTruePredicate extends java.lang.Object implements ThreadUtils.ThreadPredicate, ThreadUtils.ThreadGroupPredicate
Modifier | Constructor and Description |
---|---|
private |
AlwaysTruePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
test(java.lang.Thread thread)
Evaluates this predicate on the given thread.
|
boolean |
test(java.lang.ThreadGroup threadGroup)
Evaluates this predicate on the given threadgroup.
|
public boolean test(java.lang.ThreadGroup threadGroup)
ThreadUtils.ThreadGroupPredicate
test
in interface ThreadUtils.ThreadGroupPredicate
threadGroup
- the threadgrouptrue
if the threadGroup matches the predicate, otherwise false
public boolean test(java.lang.Thread thread)
ThreadUtils.ThreadPredicate
test
in interface ThreadUtils.ThreadPredicate
thread
- the threadtrue
if the thread matches the predicate, otherwise false