On this page

ThreadUtils.ThreadPredicate

@Deprecated @FunctionalInterface public static interface org.apache.commons.lang3.ThreadUtils.ThreadPredicate[source]

Deprecated: Use a Predicate.

A predicate for selecting threads.

Methods

boolean

test(Thread thread)

Evaluates this predicate on the given thread.

boolean test(Thread thread)[source]

Evaluates this predicate on the given thread.

Parameters:

thread – The thread

Returns:

true if the thread matches the predicate, otherwise false