Page 7 - 4657
P. 7
Клінч (deadlock) ........................................................................ 70
Методи класу ............................................................................ 71
currentThread ............................................................................ 71
yield ........................................................................................... 71
sleep(int n) ................................................................................ 71
Методи об'єкта ........................................................................ 72
start ................................................................................................ 72
run .................................................................................................. 72
stop ................................................................................................ 72
suspend .......................................................................................... 72
resume ........................................................................................... 73
setPriority(int p) ............................................................................ 73
SetPriority ...................................................................................... 73
setName(String name) ................................................................... 73
getName ......................................................................................... 74
ЛЕКЦІЯ 6. УТИЛІТИ .................................................................. 75
Прості оболонки для типів ..................................................... 75
Number ..................................................................................... 75
Double і Float ........................................................................... 76
Нескінченність і Na ................................................................. 76
Integer і Long ............................................................................ 77
Character ................................................................................... 78
Boolean ..................................................................................... 79
Перерахування ......................................................................... 79
Інтерфейс Enumeration ............................................................ 79
Vector ........................................................................................ 80
Stack .......................................................................................... 81
Dictionary ................................................................................. 83
HashTable ................................................................................. 83
Properties .................................................................................... 84
StrinsTokenizer ......................................................................... 85
Runtime ....................................................................................... 86
Керування пам'яттю................................................................ 87
Виконання інших програм ..................................................... 87
System ......................................................................................... 88
Властивості оточення .............................................................. 89
Date .............................................................................................. 89
5