org.apache.commons.lang3

## 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.
  Use a `Predicate`.

      @Deprecated
       @FunctionalInterface
      public static interface ThreadUtils.ThreadPredicate

  A predicate for selecting threads.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `test(Thread thread)` Deprecated. Evaluates this predicate on the given thread.

- - ### Method Detail

    - #### 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`

Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.