ThreadUtils.ThreadPredicate (Apache Commons Lang 3.20.0 API)
Description: declaration: package: org.apache.commons.lang3, class: ThreadUtils, interface: ThreadPredicate

# Interface ThreadUtils.ThreadPredicate

All Known Implementing Classes:
  `ThreadUtils.NamePredicate, ThreadUtils.ThreadIdPredicate`

Enclosing class:
  `ThreadUtils`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public static interface ThreadUtils.ThreadPredicate
Deprecated.
Use a `Predicate`.
A predicate for selecting threads.

Since:
  3.5

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `test(Thread thread)`
  Deprecated.
  Evaluates this predicate on the given thread.

- ## Method Details

  - ### test

    boolean test(Thread thread)
    Deprecated.
    Evaluates this predicate on the given thread.
    Parameters:
      `thread` - the thread
    Returns:
      `true` if the thread matches the predicate, otherwise `false`