util
Class ThreadLister
java.lang.Object
util.ThreadLister
public class ThreadLister
- extends Object
This example is from the book _Java in a Nutshell_ by David Flanagan.
Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates.
You may study, use, modify, and distribute this example for any purpose.
This example is provided WITHOUT WARRANTY either expressed or implied.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLister
public ThreadLister()
print_thread_info
private static void print_thread_info(PrintStream out,
Thread t,
String indent)
- Parameters:
out - t - indent -
list_group
private static void list_group(PrintStream out,
ThreadGroup g,
String indent)
- Parameters:
out - g - indent -
listAllThreads
public static void listAllThreads(PrintStream out)
- Parameters:
out -
main
public static void main(String[] args)
- Parameters:
args -