OSDN Git Service

2000-03-23 Jeff Sturm <jsturm@one-point.com>
[pf3gnuchains/gcc-fork.git] / libjava / doc / java-lang.texi
1 @deftypemethod Process {public abstract void} destroy () 
2
3 @end deftypemethod
4 @deftypemethod Process {public abstract int} exitValue () 
5
6 @end deftypemethod
7 @deftypemethod Process {public abstract InputStream} getErrorStream () 
8
9 @end deftypemethod
10 @deftypemethod Process {public abstract InputStream} getInputStream () 
11
12 @end deftypemethod
13 @deftypemethod Process {public abstract OutputStream} getOutputStream () 
14
15 @end deftypemethod
16 @deftypemethod Process {public abstract int} waitFor () @*throws InterruptedException
17
18 @end deftypemethod
19 @deftypemethod Runnable {public void} run () 
20
21 @end deftypemethod
22 @deftypemethod Runtime {public Process} exec (java.lang.String@w{ }@var{prog}) @*throws IOException
23
24 @end deftypemethod
25 @deftypemethod Runtime {public Process} exec (java.lang.String@w{ }@var{prog}, java.lang.String[]@w{ }@var{envp}) @*throws IOException
26
27 @end deftypemethod
28 @deftypemethod Runtime {public Process} exec (java.lang.String[]@w{ }@var{progarray}) @*throws IOException
29
30 @end deftypemethod
31 @deftypemethod Runtime {public Process} exec (java.lang.String[]@w{ }@var{progarray}, java.lang.String[]@w{ }@var{envp}) @*throws IOException
32
33 @end deftypemethod
34 @deftypemethod Runtime {public native void} exit (int@w{ }@var{status}) 
35
36 @end deftypemethod
37 @deftypemethod Runtime {public native long} freeMemory () 
38
39 @end deftypemethod
40 @deftypemethod Runtime {public native void} gc () 
41
42 @end deftypemethod
43 @deftypemethod Runtime {public InputStream} getLocalizedInputStream (java.io.InputStream@w{ }@var{in}) 
44
45 @end deftypemethod
46 @deftypemethod Runtime {public OutputStream} getLocalizedOutputStream (java.io.OutputStream@w{ }@var{out}) 
47
48 @end deftypemethod
49 @deftypemethod Runtime {public static Runtime} getRuntime () 
50
51 @end deftypemethod
52 @deftypemethod Runtime {public void} load (java.lang.String@w{ }@var{pathname}) 
53
54 @end deftypemethod
55 @deftypemethod Runtime {public void} loadLibrary (java.lang.String@w{ }@var{libname}) 
56
57 @end deftypemethod
58 @deftypemethod Runtime {public native void} runFinalization () 
59
60 @end deftypemethod
61 @deftypemethod Runtime {public static void} runFinalizersOnExit (boolean@w{ }@var{run}) 
62
63 @end deftypemethod
64 @deftypemethod Runtime {public native long} totalMemory () 
65
66 @end deftypemethod
67 @deftypemethod Runtime {public native void} traceInstructions (boolean@w{ }@var{on}) 
68
69 @end deftypemethod
70 @deftypemethod Runtime {public native void} traceMethodCalls (boolean@w{ }@var{on}) 
71
72 @end deftypemethod
73 @deftypemethod SecurityManager {public void} checkAccept (java.lang.String@w{ }@var{host}, int@w{ }@var{port}) 
74
75 @end deftypemethod
76 @deftypemethod SecurityManager {public void} checkAccess (java.lang.Thread@w{ }@var{thrd}) 
77
78 @end deftypemethod
79 @deftypemethod SecurityManager {public void} checkAccess (java.lang.ThreadGroup@w{ }@var{thrdGroup}) 
80
81 @end deftypemethod
82 @deftypemethod SecurityManager {public void} checkAwtEventQueueAccess () 
83
84 @end deftypemethod
85 @deftypemethod SecurityManager {public void} checkConnect (java.lang.String@w{ }@var{host}, int@w{ }@var{prt}) 
86
87 @end deftypemethod
88 @deftypemethod SecurityManager {public void} checkConnect (java.lang.String@w{ }@var{host}, int@w{ }@var{prt}, java.lang.Object@w{ }@var{ctx}) 
89
90 @end deftypemethod
91 @deftypemethod SecurityManager {public void} checkCreateClassLoader () 
92
93 @end deftypemethod
94 @deftypemethod SecurityManager {public void} checkDelete (java.lang.String@w{ }@var{fileName}) 
95
96 @end deftypemethod
97 @deftypemethod SecurityManager {public void} checkExec (java.lang.String@w{ }@var{prog}) 
98
99 @end deftypemethod
100 @deftypemethod SecurityManager {public void} checkExit (int@w{ }@var{stat}) 
101
102 @end deftypemethod
103 @deftypemethod SecurityManager {public void} checkLink (java.lang.String@w{ }@var{lib}) 
104
105 @end deftypemethod
106 @deftypemethod SecurityManager {public void} checkListen (int@w{ }@var{lport}) 
107
108 @end deftypemethod
109 @deftypemethod SecurityManager {public void} checkMemberAccess (java.lang.Class@w{ }@var{cl}, int@w{ }@var{mtype}) 
110
111 @end deftypemethod
112 @deftypemethod SecurityManager {public void} checkMulticast (java.net.InetAddress@w{ }@var{maddr}) 
113
114 @end deftypemethod
115 @deftypemethod SecurityManager {public void} checkMulticast (java.net.InetAddress@w{ }@var{maddr}, byte@w{ }@var{ttl}) 
116
117 @end deftypemethod
118 @deftypemethod SecurityManager {public void} checkPackageAccess (java.lang.String@w{ }@var{pkg}) 
119
120 @end deftypemethod
121 @deftypemethod SecurityManager {public void} checkPackageDefinition (java.lang.String@w{ }@var{pkg}) 
122
123 @end deftypemethod
124 @deftypemethod SecurityManager {public void} checkPermission (java.security.Permission@w{ }@var{perm}) 
125
126 @end deftypemethod
127 @deftypemethod SecurityManager {public void} checkPrintJobAccess () 
128
129 @end deftypemethod
130 @deftypemethod SecurityManager {public void} checkPropertiesAccess () 
131
132 @end deftypemethod
133 @deftypemethod SecurityManager {public void} checkPropertyAccess (java.lang.String@w{ }@var{prop}) 
134
135 @end deftypemethod
136 @deftypemethod SecurityManager {public void} checkPropertyAccess (java.lang.String@w{ }@var{prop}, java.lang.String@w{ }@var{defval}) 
137
138 @end deftypemethod
139 @deftypemethod SecurityManager {public void} checkRead (java.io.FileDescriptor@w{ }@var{fd}) 
140
141 @end deftypemethod
142 @deftypemethod SecurityManager {public void} checkRead (java.lang.String@w{ }@var{fileName}) 
143
144 @end deftypemethod
145 @deftypemethod SecurityManager {public void} checkRead (java.lang.String@w{ }@var{fileName}, java.lang.Object@w{ }@var{ctx}) 
146
147 @end deftypemethod
148 @deftypemethod SecurityManager {public void} checkSecurityAccess (java.lang.String@w{ }@var{action}) 
149
150 @end deftypemethod
151 @deftypemethod SecurityManager {public void} checkSetFactory () 
152
153 @end deftypemethod
154 @deftypemethod SecurityManager {public void} checkSystemClipboardAccess () 
155
156 @end deftypemethod
157 @deftypemethod SecurityManager {public boolean} checkTopLevelWindow (java.lang.Object@w{ }@var{window}) 
158
159 @end deftypemethod
160 @deftypemethod SecurityManager {public void} checkWrite (java.io.FileDescriptor@w{ }@var{fd}) 
161
162 @end deftypemethod
163 @deftypemethod SecurityManager {public void} checkWrite (java.lang.String@w{ }@var{fileName}) 
164
165 @end deftypemethod
166 @deftypemethod SecurityManager {protected int} classDepth (java.lang.String@w{ }@var{className}) 
167
168 @end deftypemethod
169 @deftypemethod SecurityManager {protected int} classLoaderDepth () 
170
171 @end deftypemethod
172 @deftypemethod SecurityManager {protected ClassLoader} currentClassLoader () 
173
174 @end deftypemethod
175 @deftypemethod SecurityManager {protected Class} currentLoadedClass () 
176
177 @end deftypemethod
178 @deftypemethod SecurityManager {protected Class} getClassContext () 
179
180 @end deftypemethod
181 @deftypemethod SecurityManager {public boolean} getInCheck () 
182
183 @end deftypemethod
184 @deftypemethod SecurityManager {public Object} getSecurityContext () 
185
186 @end deftypemethod
187 @deftypemethod SecurityManager {public ThreadGroup} getThreadGroup () 
188
189 @end deftypemethod
190 @deftypemethod SecurityManager {protected boolean} inClass (java.lang.String@w{ }@var{className}) 
191
192 @end deftypemethod
193 @deftypemethod SecurityManager {protected boolean} inClassLoader () 
194
195 @end deftypemethod
196 @deftypemethod Short {public byte} byteValue () 
197
198 @end deftypemethod
199 @deftypemethod Short {public short} shortValue () 
200
201 @end deftypemethod
202 @deftypemethod Short {public int} intValue () 
203
204 @end deftypemethod
205 @deftypemethod Short {public long} longValue () 
206
207 @end deftypemethod
208 @deftypemethod Short {public float} floatValue () 
209
210 @end deftypemethod
211 @deftypemethod Short {public double} doubleValue () 
212
213 @end deftypemethod
214 @deftypemethod Short {public static Short} decode (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
215
216 @end deftypemethod
217 @deftypemethod Short {public static short} parseShort (java.lang.String@w{ }@var{str}, int@w{ }@var{radix}) @*throws NumberFormatException
218
219 @end deftypemethod
220 @deftypemethod Short {public static short} parseShort (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
221
222 @end deftypemethod
223 @deftypemethod Short {public static Short} valueOf (java.lang.String@w{ }@var{str}, int@w{ }@var{radix}) @*throws NumberFormatException
224
225 @end deftypemethod
226 @deftypemethod Short {public static Short} valueOf (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
227
228 @end deftypemethod
229 @deftypemethod Short {public int} compareTo (java.lang.Short@w{ }@var{anotherShort}) 
230
231 @end deftypemethod
232 @deftypemethod Short {public int} compareTo (java.lang.Object@w{ }@var{o}) @*throws ClassCastException
233
234 @end deftypemethod
235 @deftypemethod Short {public boolean} equals (java.lang.Object@w{ }@var{obj}) 
236
237 @end deftypemethod
238 @deftypemethod Short {public int} hashCode () 
239
240 @end deftypemethod
241 @deftypemethod Short {public String} toString () 
242
243 @end deftypemethod
244 @deftypemethod Short {public static String} toString (short@w{ }@var{value}) 
245
246 @end deftypemethod
247 @deftypemethod String {public static String} copyValueOf (char[]@w{ }@var{data}) 
248
249 @end deftypemethod
250 @deftypemethod String {public static String} copyValueOf (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count}) 
251
252 @end deftypemethod
253 @deftypemethod String {public String} toString () 
254
255 @end deftypemethod
256 @deftypemethod String {public native boolean} equals (java.lang.Object@w{ }@var{anObject}) 
257
258 @end deftypemethod
259 @deftypemethod String {public native int} hashCode () 
260
261 @end deftypemethod
262 @deftypemethod String {public int} length () 
263
264 @end deftypemethod
265 @deftypemethod String {public native char} charAt (int@w{ }@var{index}) 
266
267 @end deftypemethod
268 @deftypemethod String {public native void} getChars (int@w{ }@var{srcBegin}, int@w{ }@var{srcEnd}, char[]@w{ }@var{dst}, int@w{ }@var{dstBegin}) 
269
270 @end deftypemethod
271 @deftypemethod String {public byte} getBytes () 
272
273 @end deftypemethod
274 @deftypemethod String {public native byte} getBytes (java.lang.String@w{ }@var{enc}) @*throws UnsupportedEncodingException
275
276 @end deftypemethod
277 @deftypemethod String {public native void} getBytes (int@w{ }@var{srcBegin}, int@w{ }@var{srcEnd}, byte[]@w{ }@var{dst}, int@w{ }@var{dstBegin}) 
278
279 @end deftypemethod
280 @deftypemethod String {public native char} toCharArray () 
281
282 @end deftypemethod
283 @deftypemethod String {public native boolean} equalsIgnoreCase (java.lang.String@w{ }@var{anotherString}) 
284
285 @end deftypemethod
286 @deftypemethod String {public native int} compareTo (java.lang.String@w{ }@var{anotherString}) 
287
288 @end deftypemethod
289 @deftypemethod String {public int} compareTo (java.lang.Object@w{ }@var{obj}) 
290
291 @end deftypemethod
292 @deftypemethod String {public int} compareToIgnoreCase (java.lang.String@w{ }@var{str}) 
293
294 @end deftypemethod
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}) 
296
297 @end deftypemethod
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}) 
299
300 @end deftypemethod
301 @deftypemethod String {public boolean} startsWith (java.lang.String@w{ }@var{prefix}) 
302
303 @end deftypemethod
304 @deftypemethod String {public native boolean} startsWith (java.lang.String@w{ }@var{prefix}, int@w{ }@var{toffset}) 
305
306 @end deftypemethod
307 @deftypemethod String {public boolean} endsWith (java.lang.String@w{ }@var{suffix}) 
308
309 @end deftypemethod
310 @deftypemethod String {public int} indexOf (int@w{ }@var{ch}) 
311
312 @end deftypemethod
313 @deftypemethod String {public native int} indexOf (int@w{ }@var{ch}, int@w{ }@var{fromIndex}) 
314
315 @end deftypemethod
316 @deftypemethod String {public int} indexOf (java.lang.String@w{ }@var{str}) 
317
318 @end deftypemethod
319 @deftypemethod String {public native int} indexOf (java.lang.String@w{ }@var{str}, int@w{ }@var{fromIndex}) 
320
321 @end deftypemethod
322 @deftypemethod String {public int} lastIndexOf (int@w{ }@var{ch}) 
323
324 @end deftypemethod
325 @deftypemethod String {public native int} lastIndexOf (int@w{ }@var{ch}, int@w{ }@var{fromIndex}) 
326
327 @end deftypemethod
328 @deftypemethod String {public int} lastIndexOf (java.lang.String@w{ }@var{str}) 
329
330 @end deftypemethod
331 @deftypemethod String {public int} lastIndexOf (java.lang.String@w{ }@var{str}, int@w{ }@var{fromIndex}) 
332
333 @end deftypemethod
334 @deftypemethod String {public String} substring (int@w{ }@var{beginIndex}) 
335
336 @end deftypemethod
337 @deftypemethod String {public native String} substring (int@w{ }@var{beginIndex}, int@w{ }@var{endIndex}) 
338
339 @end deftypemethod
340 @deftypemethod String {public native String} concat (java.lang.String@w{ }@var{str}) 
341
342 @end deftypemethod
343 @deftypemethod String {public native String} replace (char@w{ }@var{oldChar}, char@w{ }@var{newChar}) 
344
345 @end deftypemethod
346 @deftypemethod String {public native String} toLowerCase (java.util.Locale@w{ }@var{locale}) 
347
348 @end deftypemethod
349 @deftypemethod String {public native String} toUpperCase (java.util.Locale@w{ }@var{locale}) 
350
351 @end deftypemethod
352 @deftypemethod String {public String} toLowerCase () 
353
354 @end deftypemethod
355 @deftypemethod String {public String} toUpperCase () 
356
357 @end deftypemethod
358 @deftypemethod String {public native String} trim () 
359
360 @end deftypemethod
361 @deftypemethod String {public static String} valueOf (java.lang.Object@w{ }@var{obj}) 
362
363 @end deftypemethod
364 @deftypemethod String {public static String} valueOf (char[]@w{ }@var{data}) 
365
366 @end deftypemethod
367 @deftypemethod String {public static native String} valueOf (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count}) 
368
369 @end deftypemethod
370 @deftypemethod String {public static String} valueOf (boolean@w{ }@var{b}) 
371
372 @end deftypemethod
373 @deftypemethod String {public static native String} valueOf (char@w{ }@var{c}) 
374
375 @end deftypemethod
376 @deftypemethod String {public static String} valueOf (int@w{ }@var{i}) 
377
378 @end deftypemethod
379 @deftypemethod String {public static String} valueOf (long@w{ }@var{l}) 
380
381 @end deftypemethod
382 @deftypemethod String {public static String} valueOf (float@w{ }@var{f}) 
383
384 @end deftypemethod
385 @deftypemethod String {public static String} valueOf (double@w{ }@var{d}) 
386
387 @end deftypemethod
388 @deftypemethod String {public native String} intern () 
389
390 @end deftypemethod
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
394   @code{String}.
395 @end deftypemethod
396 @deftypemethod StringBuffer {public synchronized StringBuffer} append (char@w{ }@var{ch}) 
397 Append the @code{char} to this @code{StringBuffer}.
398 @end deftypemethod
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
402   @code{String}.
403 @end deftypemethod
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
407   @code{String}.
408 @end deftypemethod
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
412   @code{String}.
413 @end deftypemethod
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
417   @code{String}.
418 @end deftypemethod
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
422   @code{String}.
423 @end deftypemethod
424 @deftypemethod StringBuffer {public synchronized StringBuffer} append (java.lang.String@w{ }@var{str}) 
425 Append the @code{String} to this @code{StringBuffer}.
426 @end deftypemethod
427 @deftypemethod StringBuffer {public StringBuffer} append (char[]@w{ }@var{data}) 
428 Append the @code{char} array to this @code{StringBuffer}.
429 @end deftypemethod
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}.
432 @end deftypemethod
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
436   <em>length</em>.
437 @end deftypemethod
438 @deftypemethod StringBuffer {public synchronized char} charAt (int@w{ }@var{index}) 
439 Get the character at the specified index.
440 @end deftypemethod
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.
444 @end deftypemethod
445 @deftypemethod StringBuffer {public StringBuffer} deleteCharAt (int@w{ }@var{index}) 
446 Delete a character from this @code{StringBuffer}.
447 @end deftypemethod
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}
453 @end deftypemethod
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.
457 @end deftypemethod
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
461   @code{String}.
462 @end deftypemethod
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}.
465 @end deftypemethod
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
469   @code{String}.
470 @end deftypemethod
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
474   @code{String}.
475 @end deftypemethod
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
479   @code{String}.
480 @end deftypemethod
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
484   @code{String}.
485 @end deftypemethod
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
489   @code{String}.
490 @end deftypemethod
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}.
493 @end deftypemethod
494 @deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, char[]@w{ }@var{data}) 
495 Insert the @code{char[]} argument into this
496   @code{StringBuffer}.
497 @end deftypemethod
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
500   @code{StringBuffer}.
501 @end deftypemethod
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}.
506 @end deftypemethod
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.
512 @end deftypemethod
513 @deftypemethod StringBuffer {public synchronized StringBuffer} reverse () 
514 Reverse the characters in this StringBuffer.
515 @end deftypemethod
516 @deftypemethod StringBuffer {public synchronized void} setCharAt (int@w{ }@var{index}, char@w{ }@var{ch}) 
517 Set the character at the specified index.
518 @end deftypemethod
519 @deftypemethod StringBuffer {public synchronized void} setLength (int@w{ }@var{newLength}) 
520 Set the length of this StringBuffer.
521   
522
523
524   If the new length is greater than the current length, all the new
525   characters are set to '\0'.
526   
527
528
529   If the new length is less than the current length, the first
530   @code{newLength} characters of the old array will be
531 @end deftypemethod
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.
535 @end deftypemethod
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.
539 @end deftypemethod
540 @deftypemethod StringBuffer {public String} toString () 
541 Convert this @code{StringBuffer} to a @code{String}.
542 @end deftypemethod
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}) 
544
545 @end deftypemethod
546 @deftypemethod System {public static native long} currentTimeMillis () 
547
548 @end deftypemethod
549 @deftypemethod System {public static void} exit (int@w{ }@var{status}) 
550
551 @end deftypemethod
552 @deftypemethod System {public static void} gc () 
553
554 @end deftypemethod
555 @deftypemethod System {public static String} getenv (java.lang.String@w{ }@var{name}) 
556
557 @end deftypemethod
558 @deftypemethod System {public static Properties} getProperties () 
559
560 @end deftypemethod
561 @deftypemethod System {public static String} getProperty (java.lang.String@w{ }@var{property}) 
562
563 @end deftypemethod
564 @deftypemethod System {public static String} getProperty (java.lang.String@w{ }@var{property}, java.lang.String@w{ }@var{defval}) 
565
566 @end deftypemethod
567 @deftypemethod System {public static SecurityManager} getSecurityManager () 
568
569 @end deftypemethod
570 @deftypemethod System {public static native int} identityHashCode (java.lang.Object@w{ }@var{obj}) 
571
572 @end deftypemethod
573 @deftypemethod System {public static void} load (java.lang.String@w{ }@var{pathname}) 
574
575 @end deftypemethod
576 @deftypemethod System {public static void} loadLibrary (java.lang.String@w{ }@var{libname}) 
577
578 @end deftypemethod
579 @deftypemethod System {public static void} runFinalization () 
580
581 @end deftypemethod
582 @deftypemethod System {public static void} runFinalizersOnExit (boolean@w{ }@var{run}) 
583
584 @end deftypemethod
585 @deftypemethod System {public static native void} setErr (java.io.PrintStream@w{ }@var{newErr}) 
586
587 @end deftypemethod
588 @deftypemethod System {public static native void} setIn (java.io.InputStream@w{ }@var{newIn}) 
589
590 @end deftypemethod
591 @deftypemethod System {public static native void} setOut (java.io.PrintStream@w{ }@var{newOut}) 
592
593 @end deftypemethod
594 @deftypemethod System {public static void} setProperties (java.util.Properties@w{ }@var{props}) 
595
596 @end deftypemethod
597 @deftypemethod System {public static String} setProperty (java.lang.String@w{ }@var{key}, java.lang.String@w{ }@var{value}) 
598
599 @end deftypemethod
600 @deftypemethod System {public static void} setSecurityManager (java.lang.SecurityManager@w{ }@var{s}) 
601
602 @end deftypemethod
603 @deftypemethod Thread {public static int} activeCount () 
604
605 @end deftypemethod
606 @deftypemethod Thread {public final void} checkAccess () 
607
608 @end deftypemethod
609 @deftypemethod Thread {public native int} countStackFrames () 
610
611 @end deftypemethod
612 @deftypemethod Thread {public static native Thread} currentThread () 
613
614 @end deftypemethod
615 @deftypemethod Thread {public native void} destroy () 
616
617 @end deftypemethod
618 @deftypemethod Thread {public static void} dumpStack () 
619
620 @end deftypemethod
621 @deftypemethod Thread {public static int} enumerate (java.lang.Thread[]@w{ }@var{threads}) 
622
623 @end deftypemethod
624 @deftypemethod Thread {public final String} getName () 
625
626 @end deftypemethod
627 @deftypemethod Thread {public final int} getPriority () 
628
629 @end deftypemethod
630 @deftypemethod Thread {public final ThreadGroup} getThreadGroup () 
631
632 @end deftypemethod
633 @deftypemethod Thread {public native void} interrupt () 
634
635 @end deftypemethod
636 @deftypemethod Thread {public static boolean} interrupted () 
637
638 @end deftypemethod
639 @deftypemethod Thread {public boolean} isInterrupted () 
640
641 @end deftypemethod
642 @deftypemethod Thread {public final boolean} isAlive () 
643
644 @end deftypemethod
645 @deftypemethod Thread {public final boolean} isDaemon () 
646
647 @end deftypemethod
648 @deftypemethod Thread {public final void} join () @*throws InterruptedException
649
650 @end deftypemethod
651 @deftypemethod Thread {public final void} join (long@w{ }@var{timeout}) @*throws InterruptedException
652
653 @end deftypemethod
654 @deftypemethod Thread {public final native void} join (long@w{ }@var{timeout}, int@w{ }@var{nanos}) @*throws InterruptedException
655
656 @end deftypemethod
657 @deftypemethod Thread {public final native void} resume () 
658
659 @end deftypemethod
660 @deftypemethod Thread {public void} run () 
661
662 @end deftypemethod
663 @deftypemethod Thread {public final void} setDaemon (boolean@w{ }@var{status}) 
664
665 @end deftypemethod
666 @deftypemethod Thread {public synchronized ClassLoader} getContextClassLoader () 
667
668 @end deftypemethod
669 @deftypemethod Thread {public synchronized void} setContextClassLoader (java.lang.ClassLoader@w{ }@var{cl}) 
670
671 @end deftypemethod
672 @deftypemethod Thread {public final void} setName (java.lang.String@w{ }@var{n}) 
673
674 @end deftypemethod
675 @deftypemethod Thread {public final native void} setPriority (int@w{ }@var{newPriority}) 
676
677 @end deftypemethod
678 @deftypemethod Thread {public static void} sleep (long@w{ }@var{timeout}) @*throws InterruptedException
679
680 @end deftypemethod
681 @deftypemethod Thread {public static native void} sleep (long@w{ }@var{timeout}, int@w{ }@var{nanos}) @*throws InterruptedException
682
683 @end deftypemethod
684 @deftypemethod Thread {public native synchronized void} start () 
685
686 @end deftypemethod
687 @deftypemethod Thread {public final void} stop () 
688
689 @end deftypemethod
690 @deftypemethod Thread {public final native synchronized void} stop (java.lang.Throwable@w{ }@var{e}) 
691
692 @end deftypemethod
693 @deftypemethod Thread {public final native void} suspend () 
694
695 @end deftypemethod
696 @deftypemethod Thread {public String} toString () 
697
698 @end deftypemethod
699 @deftypemethod Thread {public static native void} yield () 
700
701 @end deftypemethod
702 @deftypemethod ThreadGroup {public final String} getName () 
703 Get the name of this ThreadGroup.
704 @end deftypemethod
705 @deftypemethod ThreadGroup {public final ThreadGroup} getParent () 
706 Get the parent of this ThreadGroup.
707 @end deftypemethod
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.
713 @end deftypemethod
714 @deftypemethod ThreadGroup {public final int} getMaxPriority () 
715 Get the maximum priority of Threads in this ThreadGroup.
716 @end deftypemethod
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.
721 @end deftypemethod
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.
726 @end deftypemethod
727 @deftypemethod ThreadGroup {public synchronized boolean} isDestroyed () 
728 Tell whether this ThreadGroup has been destroyed or not.
729 @end deftypemethod
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.
733 @end deftypemethod
734 @deftypemethod ThreadGroup {public synchronized int} activeCount () 
735 Return the total number of active threads in this ThreadGroup
736  and all its descendants.
737
738
739
740  This cannot return an exact number, since the status of threads
741  may change after they were counted.  But it should be pretty
742  close.
743
744
745 @end deftypemethod
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.
749 @end deftypemethod
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.
755 @end deftypemethod
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.
761 @end deftypemethod
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.
767 @end deftypemethod
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.
774 @end deftypemethod
775 @deftypemethod ThreadGroup {public final synchronized void} interrupt () 
776 Interrupt all Threads in this ThreadGroup and its sub-groups.
777 @end deftypemethod
778 @deftypemethod ThreadGroup {public final synchronized void} stop () 
779 Stop all Threads in this ThreadGroup and its descendants.
780 @end deftypemethod
781 @deftypemethod ThreadGroup {public final synchronized void} suspend () 
782 Suspend all Threads in this ThreadGroup and its descendants.
783 @end deftypemethod
784 @deftypemethod ThreadGroup {public final synchronized void} resume () 
785 Resume all Threads in this ThreadGroup and its descendants.
786 @end deftypemethod
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.
791 @end deftypemethod
792 @deftypemethod ThreadGroup {public void} list () 
793 Print out information about this ThreadGroup to System.out.
794 @end deftypemethod
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.
798
799
800
801  ThreadGroup's implementation does the following:<BR>
802  
803 @itemize @bullet
804
805  
806 @item
807 If there is a parent ThreadGroup, call uncaughtException()
808           in the parent.
809
810  
811 @item
812 If the Throwable passed is a ThreadDeath, don't do
813           anything.
814
815  
816 @item
817 Otherwise, call @code{exception.printStackTrace().}
818
819  
820 @end itemize
821
822 @end deftypemethod
823 @deftypemethod ThreadGroup {public boolean} allowThreadSuspension (boolean@w{ }@var{allow}) 
824 Tell the VM whether it may suspend Threads in low memory
825  situations.
826 @end deftypemethod
827 @deftypemethod ThreadGroup {public String} toString () 
828 Get a human-readable representation of this ThreadGroup.
829 @end deftypemethod
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.
834 @end deftypemethod
835 @deftypemethod Throwable {public native Throwable} fillInStackTrace () 
836
837 @end deftypemethod
838 @deftypemethod Throwable {public String} getLocalizedMessage () 
839
840 @end deftypemethod
841 @deftypemethod Throwable {public String} getMessage () 
842
843 @end deftypemethod
844 @deftypemethod Throwable {public void} printStackTrace () 
845
846 @end deftypemethod
847 @deftypemethod Throwable {public void} printStackTrace (java.io.PrintStream@w{ }@var{ps}) 
848
849 @end deftypemethod
850 @deftypemethod Throwable {public void} printStackTrace (java.io.PrintWriter@w{ }@var{wr}) 
851
852 @end deftypemethod
853 @deftypemethod Throwable {public String} toString () 
854
855 @end deftypemethod