Generated by
JDiff

Class java.lang.Thread

Documentation changed from old to new.

Added Constructors
Thread(ThreadGroup, Runnable, String, long) Allocates a new Thread object so that it has target as its run object has the specified name as its name belongs to the thread group referred to by group and has the specified stack size.
 

Changed Constructors
Thread(ThreadGroup, Runnable, String) Documentation changed from old to new.
Allocates a new Thread object so that it has target as its run object has the specified name as its name and belongs to the thread group referred to by group.
Thread(void) Documentation changed from old to new.
Allocates a new Thread object.
 

Added Methods
boolean holdsLock(Object) Returns true if and only if the current thread holds the monitor lock on the specified object.
 

Changed Methods
int activeCount() Documentation changed from old to new.
Returns the number of active threads in the current thread's thread group.
int enumerate(Thread[]) Documentation changed from old to new.
Copies into the specified array every active thread in the current thread's thread group and its subgroups.
int getPriority() Documentation changed from old to new.
Returns this thread's priority.
void interrupt() Documentation changed from old to new.
Interrupts this thread.