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 Object
implements ThreadUtils.ThreadPredicate, ThreadUtils.ThreadGroupPredicate
Deprecated.
A predicate implementation which always returns true.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Evaluates this predicate on the given thread.boolean
test
(ThreadGroup threadGroup) Deprecated.Evaluates this predicate on the given thread group.
-
Constructor Details
-
AlwaysTruePredicate
private AlwaysTruePredicate()Deprecated.
-
-
Method Details
-
test
Deprecated.Description copied from interface:ThreadUtils.ThreadPredicate
Evaluates this predicate on the given thread.- Specified by:
test
in interfaceThreadUtils.ThreadPredicate
- Parameters:
thread
- the thread- Returns:
true
if the thread matches the predicate, otherwisefalse
-
test
Deprecated.Description copied from interface:ThreadUtils.ThreadGroupPredicate
Evaluates this predicate on the given thread group.- Specified by:
test
in interfaceThreadUtils.ThreadGroupPredicate
- Parameters:
threadGroup
- the thread group- Returns:
true
if the threadGroup matches the predicate, otherwisefalse
-
Predicate
.