Package org.apache.commons.lang3
Class ThreadUtils.AlwaysTruePredicate
- java.lang.Object
-
- org.apache.commons.lang3.ThreadUtils.AlwaysTruePredicate
-
- All Implemented Interfaces:
ThreadUtils.ThreadGroupPredicate,ThreadUtils.ThreadPredicate
- Enclosing class:
- ThreadUtils
@Deprecated private static final class ThreadUtils.AlwaysTruePredicate extends java.lang.Object implements ThreadUtils.ThreadPredicate, ThreadUtils.ThreadGroupPredicate
Deprecated.Use aPredicate.A predicate implementation which always returns true.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAlwaysTruePredicate()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleantest(java.lang.Thread thread)Deprecated.Evaluates this predicate on the given thread.booleantest(java.lang.ThreadGroup threadGroup)Deprecated.Evaluates this predicate on the given thread group.
-
-
-
Method Detail
-
test
public boolean test(java.lang.Thread thread)
Deprecated.Description copied from interface:ThreadUtils.ThreadPredicateEvaluates this predicate on the given thread.- Specified by:
testin interfaceThreadUtils.ThreadPredicate- Parameters:
thread- the thread- Returns:
trueif the thread matches the predicate, otherwisefalse
-
test
public boolean test(java.lang.ThreadGroup threadGroup)
Deprecated.Description copied from interface:ThreadUtils.ThreadGroupPredicateEvaluates this predicate on the given thread group.- Specified by:
testin interfaceThreadUtils.ThreadGroupPredicate- Parameters:
threadGroup- the thread group- Returns:
trueif the threadGroup matches the predicate, otherwisefalse
-
-