Predicate.@Deprecated public static class ThreadUtils.ThreadIdPredicate extends java.lang.Object implements ThreadUtils.ThreadPredicate
| Constructor and Description |
|---|
ThreadIdPredicate(long threadId)
Deprecated.
Predicate constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(java.lang.Thread thread)
Deprecated.
Evaluates this predicate on the given thread.
|
public ThreadIdPredicate(long threadId)
threadId - the threadId to matchjava.lang.IllegalArgumentException - if the threadId is zero or negativepublic boolean test(java.lang.Thread thread)
ThreadUtils.ThreadPredicatetest in interface ThreadUtils.ThreadPredicatethread - the threadtrue if the thread matches the predicate, otherwise falseCopyright © 2010 - 2023 Adobe. All Rights Reserved