## Uses of Class
java.lang.Thread

- Packages that use Thread
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of Thread in java.lang

    Methods in java.lang that return Thread
    Modifier and Type | Method and Description
    --- | ---
    `static Thread` | Thread.`currentThread()` Returns a reference to the currently executing thread object.

    Methods in java.lang that return types with arguments of type Thread
    Modifier and Type | Method and Description
    --- | ---
    `static Map<Thread,StackTraceElement[]>` | Thread.`getAllStackTraces()` Returns a map of stack traces for all live threads.

    Methods in java.lang with parameters of type Thread
    Modifier and Type | Method and Description
    --- | ---
    `static int` | Thread.`enumerate(Thread[] tarray)` Copies into the specified array every active thread in the current thread's thread group and its subgroups.
    `void` | Thread.UncaughtExceptionHandler.`uncaughtException(Thread t, Throwable e)` Method invoked when the given thread terminates due to the given uncaught exception.

Copyright © 2025 API Design. All Rights Reserved.