1 @deftypemethod Process {public abstract void} destroy ()
4 @deftypemethod Process {public abstract int} exitValue ()
7 @deftypemethod Process {public abstract InputStream} getErrorStream ()
10 @deftypemethod Process {public abstract InputStream} getInputStream ()
13 @deftypemethod Process {public abstract OutputStream} getOutputStream ()
16 @deftypemethod Process {public abstract int} waitFor () @*throws InterruptedException
19 @deftypemethod Runnable {public void} run ()
22 @deftypemethod Runtime {public Process} exec (java.lang.String@w{ }@var{prog}) @*throws IOException
25 @deftypemethod Runtime {public Process} exec (java.lang.String@w{ }@var{prog}, java.lang.String[]@w{ }@var{envp}) @*throws IOException
28 @deftypemethod Runtime {public Process} exec (java.lang.String[]@w{ }@var{progarray}) @*throws IOException
31 @deftypemethod Runtime {public Process} exec (java.lang.String[]@w{ }@var{progarray}, java.lang.String[]@w{ }@var{envp}) @*throws IOException
34 @deftypemethod Runtime {public native void} exit (int@w{ }@var{status})
37 @deftypemethod Runtime {public native long} freeMemory ()
40 @deftypemethod Runtime {public native void} gc ()
43 @deftypemethod Runtime {public InputStream} getLocalizedInputStream (java.io.InputStream@w{ }@var{in})
46 @deftypemethod Runtime {public OutputStream} getLocalizedOutputStream (java.io.OutputStream@w{ }@var{out})
49 @deftypemethod Runtime {public static Runtime} getRuntime ()
52 @deftypemethod Runtime {public void} load (java.lang.String@w{ }@var{pathname})
55 @deftypemethod Runtime {public void} loadLibrary (java.lang.String@w{ }@var{libname})
58 @deftypemethod Runtime {public native void} runFinalization ()
61 @deftypemethod Runtime {public static void} runFinalizersOnExit (boolean@w{ }@var{run})
64 @deftypemethod Runtime {public native long} totalMemory ()
67 @deftypemethod Runtime {public native void} traceInstructions (boolean@w{ }@var{on})
70 @deftypemethod Runtime {public native void} traceMethodCalls (boolean@w{ }@var{on})
73 @deftypemethod SecurityManager {public void} checkAccept (java.lang.String@w{ }@var{host}, int@w{ }@var{port})
76 @deftypemethod SecurityManager {public void} checkAccess (java.lang.Thread@w{ }@var{thrd})
79 @deftypemethod SecurityManager {public void} checkAccess (java.lang.ThreadGroup@w{ }@var{thrdGroup})
82 @deftypemethod SecurityManager {public void} checkAwtEventQueueAccess ()
85 @deftypemethod SecurityManager {public void} checkConnect (java.lang.String@w{ }@var{host}, int@w{ }@var{prt})
88 @deftypemethod SecurityManager {public void} checkConnect (java.lang.String@w{ }@var{host}, int@w{ }@var{prt}, java.lang.Object@w{ }@var{ctx})
91 @deftypemethod SecurityManager {public void} checkCreateClassLoader ()
94 @deftypemethod SecurityManager {public void} checkDelete (java.lang.String@w{ }@var{fileName})
97 @deftypemethod SecurityManager {public void} checkExec (java.lang.String@w{ }@var{prog})
100 @deftypemethod SecurityManager {public void} checkExit (int@w{ }@var{stat})
103 @deftypemethod SecurityManager {public void} checkLink (java.lang.String@w{ }@var{lib})
106 @deftypemethod SecurityManager {public void} checkListen (int@w{ }@var{lport})
109 @deftypemethod SecurityManager {public void} checkMemberAccess (java.lang.Class@w{ }@var{cl}, int@w{ }@var{mtype})
112 @deftypemethod SecurityManager {public void} checkMulticast (java.net.InetAddress@w{ }@var{maddr})
115 @deftypemethod SecurityManager {public void} checkMulticast (java.net.InetAddress@w{ }@var{maddr}, byte@w{ }@var{ttl})
118 @deftypemethod SecurityManager {public void} checkPackageAccess (java.lang.String@w{ }@var{pkg})
121 @deftypemethod SecurityManager {public void} checkPackageDefinition (java.lang.String@w{ }@var{pkg})
124 @deftypemethod SecurityManager {public void} checkPermission (java.security.Permission@w{ }@var{perm})
127 @deftypemethod SecurityManager {public void} checkPrintJobAccess ()
130 @deftypemethod SecurityManager {public void} checkPropertiesAccess ()
133 @deftypemethod SecurityManager {public void} checkPropertyAccess (java.lang.String@w{ }@var{prop})
136 @deftypemethod SecurityManager {public void} checkPropertyAccess (java.lang.String@w{ }@var{prop}, java.lang.String@w{ }@var{defval})
139 @deftypemethod SecurityManager {public void} checkRead (java.io.FileDescriptor@w{ }@var{fd})
142 @deftypemethod SecurityManager {public void} checkRead (java.lang.String@w{ }@var{fileName})
145 @deftypemethod SecurityManager {public void} checkRead (java.lang.String@w{ }@var{fileName}, java.lang.Object@w{ }@var{ctx})
148 @deftypemethod SecurityManager {public void} checkSecurityAccess (java.lang.String@w{ }@var{action})
151 @deftypemethod SecurityManager {public void} checkSetFactory ()
154 @deftypemethod SecurityManager {public void} checkSystemClipboardAccess ()
157 @deftypemethod SecurityManager {public boolean} checkTopLevelWindow (java.lang.Object@w{ }@var{window})
160 @deftypemethod SecurityManager {public void} checkWrite (java.io.FileDescriptor@w{ }@var{fd})
163 @deftypemethod SecurityManager {public void} checkWrite (java.lang.String@w{ }@var{fileName})
166 @deftypemethod SecurityManager {protected int} classDepth (java.lang.String@w{ }@var{className})
169 @deftypemethod SecurityManager {protected int} classLoaderDepth ()
172 @deftypemethod SecurityManager {protected ClassLoader} currentClassLoader ()
175 @deftypemethod SecurityManager {protected Class} currentLoadedClass ()
178 @deftypemethod SecurityManager {protected Class} getClassContext ()
181 @deftypemethod SecurityManager {public boolean} getInCheck ()
184 @deftypemethod SecurityManager {public Object} getSecurityContext ()
187 @deftypemethod SecurityManager {public ThreadGroup} getThreadGroup ()
190 @deftypemethod SecurityManager {protected boolean} inClass (java.lang.String@w{ }@var{className})
193 @deftypemethod SecurityManager {protected boolean} inClassLoader ()
196 @deftypemethod Short {public byte} byteValue ()
199 @deftypemethod Short {public short} shortValue ()
202 @deftypemethod Short {public int} intValue ()
205 @deftypemethod Short {public long} longValue ()
208 @deftypemethod Short {public float} floatValue ()
211 @deftypemethod Short {public double} doubleValue ()
214 @deftypemethod Short {public static Short} decode (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
217 @deftypemethod Short {public static short} parseShort (java.lang.String@w{ }@var{str}, int@w{ }@var{radix}) @*throws NumberFormatException
220 @deftypemethod Short {public static short} parseShort (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
223 @deftypemethod Short {public static Short} valueOf (java.lang.String@w{ }@var{str}, int@w{ }@var{radix}) @*throws NumberFormatException
226 @deftypemethod Short {public static Short} valueOf (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
229 @deftypemethod Short {public int} compareTo (java.lang.Short@w{ }@var{anotherShort})
232 @deftypemethod Short {public int} compareTo (java.lang.Object@w{ }@var{o}) @*throws ClassCastException
235 @deftypemethod Short {public boolean} equals (java.lang.Object@w{ }@var{obj})
238 @deftypemethod Short {public int} hashCode ()
241 @deftypemethod Short {public String} toString ()
244 @deftypemethod Short {public static String} toString (short@w{ }@var{value})
247 @deftypemethod String {public static String} copyValueOf (char[]@w{ }@var{data})
250 @deftypemethod String {public static String} copyValueOf (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count})
253 @deftypemethod String {public String} toString ()
256 @deftypemethod String {public native boolean} equals (java.lang.Object@w{ }@var{anObject})
259 @deftypemethod String {public native int} hashCode ()
262 @deftypemethod String {public int} length ()
265 @deftypemethod String {public native char} charAt (int@w{ }@var{index})
268 @deftypemethod String {public native void} getChars (int@w{ }@var{srcBegin}, int@w{ }@var{srcEnd}, char[]@w{ }@var{dst}, int@w{ }@var{dstBegin})
271 @deftypemethod String {public byte} getBytes ()
274 @deftypemethod String {public native byte} getBytes (java.lang.String@w{ }@var{enc}) @*throws UnsupportedEncodingException
277 @deftypemethod String {public native void} getBytes (int@w{ }@var{srcBegin}, int@w{ }@var{srcEnd}, byte[]@w{ }@var{dst}, int@w{ }@var{dstBegin})
280 @deftypemethod String {public native char} toCharArray ()
283 @deftypemethod String {public native boolean} equalsIgnoreCase (java.lang.String@w{ }@var{anotherString})
286 @deftypemethod String {public native int} compareTo (java.lang.String@w{ }@var{anotherString})
289 @deftypemethod String {public int} compareTo (java.lang.Object@w{ }@var{obj})
292 @deftypemethod String {public int} compareToIgnoreCase (java.lang.String@w{ }@var{str})
295 @deftypemethod String {public native boolean} regionMatches (int@w{ }@var{toffset}, java.lang.String@w{ }@var{other}, int@w{ }@var{ooffset}, int@w{ }@var{len})
298 @deftypemethod String {public native boolean} regionMatches (boolean@w{ }@var{ignoreCase}, int@w{ }@var{toffset}, java.lang.String@w{ }@var{other}, int@w{ }@var{ooffset}, int@w{ }@var{len})
301 @deftypemethod String {public boolean} startsWith (java.lang.String@w{ }@var{prefix})
304 @deftypemethod String {public native boolean} startsWith (java.lang.String@w{ }@var{prefix}, int@w{ }@var{toffset})
307 @deftypemethod String {public boolean} endsWith (java.lang.String@w{ }@var{suffix})
310 @deftypemethod String {public int} indexOf (int@w{ }@var{ch})
313 @deftypemethod String {public native int} indexOf (int@w{ }@var{ch}, int@w{ }@var{fromIndex})
316 @deftypemethod String {public int} indexOf (java.lang.String@w{ }@var{str})
319 @deftypemethod String {public native int} indexOf (java.lang.String@w{ }@var{str}, int@w{ }@var{fromIndex})
322 @deftypemethod String {public int} lastIndexOf (int@w{ }@var{ch})
325 @deftypemethod String {public native int} lastIndexOf (int@w{ }@var{ch}, int@w{ }@var{fromIndex})
328 @deftypemethod String {public int} lastIndexOf (java.lang.String@w{ }@var{str})
331 @deftypemethod String {public int} lastIndexOf (java.lang.String@w{ }@var{str}, int@w{ }@var{fromIndex})
334 @deftypemethod String {public String} substring (int@w{ }@var{beginIndex})
337 @deftypemethod String {public native String} substring (int@w{ }@var{beginIndex}, int@w{ }@var{endIndex})
340 @deftypemethod String {public native String} concat (java.lang.String@w{ }@var{str})
343 @deftypemethod String {public native String} replace (char@w{ }@var{oldChar}, char@w{ }@var{newChar})
346 @deftypemethod String {public native String} toLowerCase (java.util.Locale@w{ }@var{locale})
349 @deftypemethod String {public native String} toUpperCase (java.util.Locale@w{ }@var{locale})
352 @deftypemethod String {public String} toLowerCase ()
355 @deftypemethod String {public String} toUpperCase ()
358 @deftypemethod String {public native String} trim ()
361 @deftypemethod String {public static String} valueOf (java.lang.Object@w{ }@var{obj})
364 @deftypemethod String {public static String} valueOf (char[]@w{ }@var{data})
367 @deftypemethod String {public static native String} valueOf (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count})
370 @deftypemethod String {public static String} valueOf (boolean@w{ }@var{b})
373 @deftypemethod String {public static native String} valueOf (char@w{ }@var{c})
376 @deftypemethod String {public static String} valueOf (int@w{ }@var{i})
379 @deftypemethod String {public static String} valueOf (long@w{ }@var{l})
382 @deftypemethod String {public static String} valueOf (float@w{ }@var{f})
385 @deftypemethod String {public static String} valueOf (double@w{ }@var{d})
388 @deftypemethod String {public native String} intern ()
391 @deftypemethod StringBuffer {public StringBuffer} append (boolean@w{ }@var{bool})
392 Append the @code{String} value of the argument to this @code{StringBuffer}.
393 Uses @code{String.valueOf()} to convert to
396 @deftypemethod StringBuffer {public synchronized StringBuffer} append (char@w{ }@var{ch})
397 Append the @code{char} to this @code{StringBuffer}.
399 @deftypemethod StringBuffer {public StringBuffer} append (int@w{ }@var{inum})
400 Append the @code{String} value of the argument to this @code{StringBuffer}.
401 Uses @code{String.valueOf()} to convert to
404 @deftypemethod StringBuffer {public StringBuffer} append (long@w{ }@var{lnum})
405 Append the @code{String} value of the argument to this @code{StringBuffer}.
406 Uses @code{String.valueOf()} to convert to
409 @deftypemethod StringBuffer {public StringBuffer} append (float@w{ }@var{fnum})
410 Append the @code{String} value of the argument to this @code{StringBuffer}.
411 Uses @code{String.valueOf()} to convert to
414 @deftypemethod StringBuffer {public StringBuffer} append (double@w{ }@var{dnum})
415 Append the @code{String} value of the argument to this @code{StringBuffer}.
416 Uses @code{String.valueOf()} to convert to
419 @deftypemethod StringBuffer {public StringBuffer} append (java.lang.Object@w{ }@var{obj})
420 Append the @code{String} value of the argument to this @code{StringBuffer}.
421 Uses @code{String.valueOf()} to convert to
424 @deftypemethod StringBuffer {public synchronized StringBuffer} append (java.lang.String@w{ }@var{str})
425 Append the @code{String} to this @code{StringBuffer}.
427 @deftypemethod StringBuffer {public StringBuffer} append (char[]@w{ }@var{data})
428 Append the @code{char} array to this @code{StringBuffer}.
430 @deftypemethod StringBuffer {public synchronized StringBuffer} append (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count})
431 Append the @code{char} array to this @code{StringBuffer}.
433 @deftypemethod StringBuffer {public int} capacity ()
434 Get the total number of characters this @code{StringBuffer}
435 can support before it must be grown. Not to be confused with
438 @deftypemethod StringBuffer {public synchronized char} charAt (int@w{ }@var{index})
439 Get the character at the specified index.
441 @deftypemethod StringBuffer {public synchronized StringBuffer} delete (int@w{ }@var{start}, int@w{ }@var{end})
442 Delete characters from this @code{StringBuffer}.
443 @code{delete(10, 12)} will delete 10 and 11, but not 12.
445 @deftypemethod StringBuffer {public StringBuffer} deleteCharAt (int@w{ }@var{index})
446 Delete a character from this @code{StringBuffer}.
448 @deftypemethod StringBuffer {public synchronized void} ensureCapacity (int@w{ }@var{minimumCapacity})
449 Increase the capacity of this @code{StringBuffer}.
450 This will ensure that an expensive growing operation will not occur
451 until @code{minimumCapacity} is reached.
452 If the capacity is actually already greater than @code{minimumCapacity}
454 @deftypemethod StringBuffer {public synchronized void} getChars (int@w{ }@var{srcOffset}, int@w{ }@var{srcEnd}, char[]@w{ }@var{dst}, int@w{ }@var{dstOffset})
455 Get the specified array of characters.
456 The characters will be copied into the array you pass in.
458 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, boolean@w{ }@var{bool})
459 Insert the @code{String} value of the argument into this @code{StringBuffer}.
460 Uses @code{String.valueOf()} to convert to
463 @deftypemethod StringBuffer {public synchronized StringBuffer} insert (int@w{ }@var{offset}, char@w{ }@var{ch})
464 Insert the @code{char} argument into this @code{StringBuffer}.
466 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, int@w{ }@var{inum})
467 Insert the @code{String} value of the argument into this @code{StringBuffer}.
468 Uses @code{String.valueOf()} to convert to
471 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, long@w{ }@var{lnum})
472 Insert the @code{String} value of the argument into this @code{StringBuffer}.
473 Uses @code{String.valueOf()} to convert to
476 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, float@w{ }@var{fnum})
477 Insert the @code{String} value of the argument into this @code{StringBuffer}.
478 Uses @code{String.valueOf()} to convert to
481 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, double@w{ }@var{dnum})
482 Insert the @code{String} value of the argument into this @code{StringBuffer}.
483 Uses @code{String.valueOf()} to convert to
486 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, java.lang.Object@w{ }@var{obj})
487 Insert the @code{String} value of the argument into this @code{StringBuffer}.
488 Uses @code{String.valueOf()} to convert to
491 @deftypemethod StringBuffer {public synchronized StringBuffer} insert (int@w{ }@var{offset}, java.lang.String@w{ }@var{str})
492 Insert the @code{String} argument into this @code{StringBuffer}.
494 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, char[]@w{ }@var{data})
495 Insert the @code{char[]} argument into this
498 @deftypemethod StringBuffer {public synchronized StringBuffer} insert (int@w{ }@var{offset}, char[]@w{ }@var{str}, int@w{ }@var{str_offset}, int@w{ }@var{len})
499 Insert the @code{char[]} argument into this
502 @deftypemethod StringBuffer {public int} length ()
503 Get the length of the @code{String} this
504 @code{StringBuffer} would create. Not to be confused with the
505 <em>capacity</em> of the @code{StringBuffer}.
507 @deftypemethod StringBuffer {public synchronized StringBuffer} replace (int@w{ }@var{start}, int@w{ }@var{end}, java.lang.String@w{ }@var{str})
508 Replace characters between index @code{start} (inclusive) and
509 @code{end} (exclusive) with @code{str}. If @code{end}
510 is larger than the size of this StringBuffer, all characters after
511 @code{start} are replaced.
513 @deftypemethod StringBuffer {public synchronized StringBuffer} reverse ()
514 Reverse the characters in this StringBuffer.
516 @deftypemethod StringBuffer {public synchronized void} setCharAt (int@w{ }@var{index}, char@w{ }@var{ch})
517 Set the character at the specified index.
519 @deftypemethod StringBuffer {public synchronized void} setLength (int@w{ }@var{newLength})
520 Set the length of this StringBuffer.
524 If the new length is greater than the current length, all the new
525 characters are set to '\0'.
529 If the new length is less than the current length, the first
530 @code{newLength} characters of the old array will be
532 @deftypemethod StringBuffer {public String} substring (int@w{ }@var{beginIndex})
533 Creates a substring of this StringBuffer, starting at a specified index
534 and ending at the end of this StringBuffer.
536 @deftypemethod StringBuffer {public synchronized String} substring (int@w{ }@var{beginIndex}, int@w{ }@var{endIndex})
537 Creates a substring of this StringBuffer, starting at a specified index
538 and ending at one character before a specified index.
540 @deftypemethod StringBuffer {public String} toString ()
541 Convert this @code{StringBuffer} to a @code{String}.
543 @deftypemethod System {public static native void} arraycopy (java.lang.Object@w{ }@var{src}, int@w{ }@var{srcOffset}, java.lang.Object@w{ }@var{dst}, int@w{ }@var{dstOffset}, int@w{ }@var{count})
546 @deftypemethod System {public static native long} currentTimeMillis ()
549 @deftypemethod System {public static void} exit (int@w{ }@var{status})
552 @deftypemethod System {public static void} gc ()
555 @deftypemethod System {public static String} getenv (java.lang.String@w{ }@var{name})
558 @deftypemethod System {public static Properties} getProperties ()
561 @deftypemethod System {public static String} getProperty (java.lang.String@w{ }@var{property})
564 @deftypemethod System {public static String} getProperty (java.lang.String@w{ }@var{property}, java.lang.String@w{ }@var{defval})
567 @deftypemethod System {public static SecurityManager} getSecurityManager ()
570 @deftypemethod System {public static native int} identityHashCode (java.lang.Object@w{ }@var{obj})
573 @deftypemethod System {public static void} load (java.lang.String@w{ }@var{pathname})
576 @deftypemethod System {public static void} loadLibrary (java.lang.String@w{ }@var{libname})
579 @deftypemethod System {public static void} runFinalization ()
582 @deftypemethod System {public static void} runFinalizersOnExit (boolean@w{ }@var{run})
585 @deftypemethod System {public static native void} setErr (java.io.PrintStream@w{ }@var{newErr})
588 @deftypemethod System {public static native void} setIn (java.io.InputStream@w{ }@var{newIn})
591 @deftypemethod System {public static native void} setOut (java.io.PrintStream@w{ }@var{newOut})
594 @deftypemethod System {public static void} setProperties (java.util.Properties@w{ }@var{props})
597 @deftypemethod System {public static String} setProperty (java.lang.String@w{ }@var{key}, java.lang.String@w{ }@var{value})
600 @deftypemethod System {public static void} setSecurityManager (java.lang.SecurityManager@w{ }@var{s})
603 @deftypemethod Thread {public static int} activeCount ()
606 @deftypemethod Thread {public final void} checkAccess ()
609 @deftypemethod Thread {public native int} countStackFrames ()
612 @deftypemethod Thread {public static native Thread} currentThread ()
615 @deftypemethod Thread {public native void} destroy ()
618 @deftypemethod Thread {public static void} dumpStack ()
621 @deftypemethod Thread {public static int} enumerate (java.lang.Thread[]@w{ }@var{threads})
624 @deftypemethod Thread {public final String} getName ()
627 @deftypemethod Thread {public final int} getPriority ()
630 @deftypemethod Thread {public final ThreadGroup} getThreadGroup ()
633 @deftypemethod Thread {public native void} interrupt ()
636 @deftypemethod Thread {public static boolean} interrupted ()
639 @deftypemethod Thread {public boolean} isInterrupted ()
642 @deftypemethod Thread {public final boolean} isAlive ()
645 @deftypemethod Thread {public final boolean} isDaemon ()
648 @deftypemethod Thread {public final void} join () @*throws InterruptedException
651 @deftypemethod Thread {public final void} join (long@w{ }@var{timeout}) @*throws InterruptedException
654 @deftypemethod Thread {public final native void} join (long@w{ }@var{timeout}, int@w{ }@var{nanos}) @*throws InterruptedException
657 @deftypemethod Thread {public final native void} resume ()
660 @deftypemethod Thread {public void} run ()
663 @deftypemethod Thread {public final void} setDaemon (boolean@w{ }@var{status})
666 @deftypemethod Thread {public synchronized ClassLoader} getContextClassLoader ()
669 @deftypemethod Thread {public synchronized void} setContextClassLoader (java.lang.ClassLoader@w{ }@var{cl})
672 @deftypemethod Thread {public final void} setName (java.lang.String@w{ }@var{n})
675 @deftypemethod Thread {public final native void} setPriority (int@w{ }@var{newPriority})
678 @deftypemethod Thread {public static void} sleep (long@w{ }@var{timeout}) @*throws InterruptedException
681 @deftypemethod Thread {public static native void} sleep (long@w{ }@var{timeout}, int@w{ }@var{nanos}) @*throws InterruptedException
684 @deftypemethod Thread {public native synchronized void} start ()
687 @deftypemethod Thread {public final void} stop ()
690 @deftypemethod Thread {public final native synchronized void} stop (java.lang.Throwable@w{ }@var{e})
693 @deftypemethod Thread {public final native void} suspend ()
696 @deftypemethod Thread {public String} toString ()
699 @deftypemethod Thread {public static native void} yield ()
702 @deftypemethod ThreadGroup {public final String} getName ()
703 Get the name of this ThreadGroup.
705 @deftypemethod ThreadGroup {public final ThreadGroup} getParent ()
706 Get the parent of this ThreadGroup.
708 @deftypemethod ThreadGroup {public final synchronized void} setMaxPriority (int@w{ }@var{maxpri})
709 Set the maximum priority for Threads in this ThreadGroup. setMaxPriority
710 can only be used to reduce the current maximum. If maxpri
711 is greater than the current Maximum, the current value is not changed.
712 Calling this does not effect threads already in this ThreadGroup.
714 @deftypemethod ThreadGroup {public final int} getMaxPriority ()
715 Get the maximum priority of Threads in this ThreadGroup.
717 @deftypemethod ThreadGroup {public final void} setDaemon (boolean@w{ }@var{daemon})
718 Set whether this ThreadGroup is a daemon group. A daemon
719 group will be destroyed when its last thread is stopped and
720 its last thread group is destroyed.
722 @deftypemethod ThreadGroup {public final boolean} isDaemon ()
723 Tell whether this ThreadGroup is a daemon group. A daemon
724 group will be destroyed when its last thread is stopped and
725 its last thread group is destroyed.
727 @deftypemethod ThreadGroup {public synchronized boolean} isDestroyed ()
728 Tell whether this ThreadGroup has been destroyed or not.
730 @deftypemethod ThreadGroup {public final boolean} parentOf (java.lang.ThreadGroup@w{ }@var{tg})
731 Check whether this ThreadGroup is an ancestor of the
732 specified ThreadGroup, or if they are the same.
734 @deftypemethod ThreadGroup {public synchronized int} activeCount ()
735 Return the total number of active threads in this ThreadGroup
736 and all its descendants.
740 This cannot return an exact number, since the status of threads
741 may change after they were counted. But it should be pretty
746 @deftypemethod ThreadGroup {public synchronized int} activeGroupCount ()
747 Get the number of active groups in this ThreadGroup. This group
748 itself is not included in the count.
750 @deftypemethod ThreadGroup {public int} enumerate (java.lang.Thread[]@w{ }@var{threads})
751 Copy all of the active Threads from this ThreadGroup and
752 its descendants into the specified array. If the array is
753 not big enough to hold all the Threads, extra Threads will
754 simply not be copied.
756 @deftypemethod ThreadGroup {public int} enumerate (java.lang.Thread[]@w{ }@var{threads}, boolean@w{ }@var{useDescendants})
757 Copy all of the active Threads from this ThreadGroup and,
758 if desired, from its descendants, into the specified array.
759 If the array is not big enough to hold all the Threads,
760 extra Threads will simply not be copied.
762 @deftypemethod ThreadGroup {public int} enumerate (java.lang.ThreadGroup[]@w{ }@var{groups})
763 Copy all active ThreadGroups that are descendants of this
764 ThreadGroup into the specified array. If the array is not
765 large enough to hold all active ThreadGroups, extra
766 ThreadGroups simply will not be copied.
768 @deftypemethod ThreadGroup {public int} enumerate (java.lang.ThreadGroup[]@w{ }@var{groups}, boolean@w{ }@var{recurse})
769 Copy all active ThreadGroups that are children of this
770 ThreadGroup into the specified array, and if desired, also
771 copy all active descendants into the array. If the array
772 is not large enough to hold all active ThreadGroups, extra
773 ThreadGroups simply will not be copied.
775 @deftypemethod ThreadGroup {public final synchronized void} interrupt ()
776 Interrupt all Threads in this ThreadGroup and its sub-groups.
778 @deftypemethod ThreadGroup {public final synchronized void} stop ()
779 Stop all Threads in this ThreadGroup and its descendants.
781 @deftypemethod ThreadGroup {public final synchronized void} suspend ()
782 Suspend all Threads in this ThreadGroup and its descendants.
784 @deftypemethod ThreadGroup {public final synchronized void} resume ()
785 Resume all Threads in this ThreadGroup and its descendants.
787 @deftypemethod ThreadGroup {public final synchronized void} destroy ()
788 Destroy this ThreadGroup. There can be no Threads in it,
789 and none of its descendants (sub-groups) may have Threads in them.
790 All its descendants will be destroyed as well.
792 @deftypemethod ThreadGroup {public void} list ()
793 Print out information about this ThreadGroup to System.out.
795 @deftypemethod ThreadGroup {public void} uncaughtException (java.lang.Thread@w{ }@var{thread}, java.lang.Throwable@w{ }@var{t})
796 When a Thread in this ThreadGroup does not catch an exception,
797 this method of the ThreadGroup is called.
801 ThreadGroup's implementation does the following:<BR>
807 If there is a parent ThreadGroup, call uncaughtException()
812 If the Throwable passed is a ThreadDeath, don't do
817 Otherwise, call @code{exception.printStackTrace().}
823 @deftypemethod ThreadGroup {public boolean} allowThreadSuspension (boolean@w{ }@var{allow})
824 Tell the VM whether it may suspend Threads in low memory
827 @deftypemethod ThreadGroup {public String} toString ()
828 Get a human-readable representation of this ThreadGroup.
830 @deftypemethod ThreadGroup {public final void} checkAccess ()
831 Find out if the current Thread can modify this ThreadGroup.
832 Calls the current SecurityManager's checkAccess() method to
833 find out. If there is none, it assumes everything's OK.
835 @deftypemethod Throwable {public native Throwable} fillInStackTrace ()
838 @deftypemethod Throwable {public String} getLocalizedMessage ()
841 @deftypemethod Throwable {public String} getMessage ()
844 @deftypemethod Throwable {public void} printStackTrace ()
847 @deftypemethod Throwable {public void} printStackTrace (java.io.PrintStream@w{ }@var{ps})
850 @deftypemethod Throwable {public void} printStackTrace (java.io.PrintWriter@w{ }@var{wr})
853 @deftypemethod Throwable {public String} toString ()