Package org.apache.commons.lang3
Interface ThreadUtils.ThreadPredicate
-
- All Known Implementing Classes:
ThreadUtils.NamePredicate,ThreadUtils.ThreadIdPredicate
- Enclosing class:
- ThreadUtils
public static interface ThreadUtils.ThreadPredicateA predicate for selecting threads.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(Thread thread)Evaluates this predicate on the given thread.
-
-
-
Method Detail
-
test
boolean test(Thread thread)
Evaluates this predicate on the given thread.- Parameters:
thread- the thread- Returns:
trueif the thread matches the predicate, otherwisefalse
-
-