java.lang Code Samples
- How do I reverse a string?
- How do I split a string?
- How do I add leading zeros to a number?
- How do I get file separator symbol?
- How do I terminate a Java application?
- How do I get operating system temporary directory / folder?
- What is Autoboxing?
- How do I copy char array to string?
- How do I remove trailing white space from a string?
- How do I calculate process elapsed time?
- How do I convert string to char array?
- How do I get package name of a class?
- How do I get the username of operating system active user?
- How do I check if a character representing a number?
Page 1 of 7 |
Prev
|
Next
How do I count active thread in a thread group?
This example describe how to get the number of active threads in this thread group. The result might not reflect concurrent activity, and might be affected by the presence of certain system threads.
Due to the inherently imprecise nature of the result, it is recommended that this method only be used for informational purposes.