001: package java.lang;
002:
003: public class Thread implements Runnable {
004: public static final int MIN_PRIORITY = 1;
005: public static final int NORM_PRIORITY = 5;
006: public static final int MAX_PRIORITY = 10;
007: volatile VMThread vmThread;
008: volatile ThreadGroup group;
009: final Runnable runnable;
010: volatile String name;
011: volatile boolean daemon;
012: volatile int priority;
013: Throwable stillborn;
014:
015: public Thread() {
016: }
017:
018: public Thread(Runnable target) {
019: }
020:
021: public Thread(String name) {
022: }
023:
024: public Thread(ThreadGroup group, Runnable target) {
025: }
026:
027: public Thread(ThreadGroup group, String name) {
028: }
029:
030: public Thread(Runnable target, String name) {
031: }
032:
033: public Thread(ThreadGroup group, Runnable target, String name) {
034: }
035:
036: public Thread(ThreadGroup group, Runnable target, String name,
037: long size) {
038: }
039:
040: Thread(VMThread vmThread, String name, int priority, boolean daemon) {
041: }
042:
043: public static int activeCount() {
044: }
045:
046: public final void checkAccess() {
047: }
048:
049: public int countStackFrames() {
050: }
051:
052: public static Thread currentThread() {
053: }
054:
055: public void destroy() {
056: }
057:
058: public static void dumpStack() {
059: }
060:
061: public static int enumerate(Thread[] array) {
062: }
063:
064: public final String getName() {
065: }
066:
067: public final synchronized int getPriority() {
068: }
069:
070: public final ThreadGroup getThreadGroup() {
071: }
072:
073: public static boolean holdsLock(Object obj) {
074: }
075:
076: public synchronized void interrupt() {
077: }
078:
079: public static boolean interrupted() {
080: }
081:
082: public boolean isInterrupted() {
083: }
084:
085: public final boolean isAlive() {
086: }
087:
088: public final boolean isDaemon() {
089: }
090:
091: public final void join() throws InterruptedException {
092: }
093:
094: public final void join(long ms) throws InterruptedException {
095: }
096:
097: public final void join(long ms, int ns) throws InterruptedException {
098: }
099:
100: public final synchronized void resume() {
101: }
102:
103: public void run() {
104: }
105:
106: public final synchronized void setDaemon(boolean daemon) {
107: }
108:
109: public synchronized ClassLoader getContextClassLoader() {
110: }
111:
112: public synchronized void setContextClassLoader(
113: ClassLoader classloader) {
114: }
115:
116: public final synchronized void setName(String name) {
117: }
118:
119: public static void yield() {
120: }
121:
122: public static void sleep(long ms) throws InterruptedException {
123: }
124:
125: public static void sleep(long ms, int ns)
126: throws InterruptedException {
127: }
128:
129: public synchronized void start() {
130: }
131:
132: public final void stop() {
133: }
134:
135: public final synchronized void stop(Throwable t) {
136: }
137:
138: public final synchronized void suspend() {
139: }
140:
141: public final synchronized void setPriority(int priority) {
142: }
143:
144: public String toString() {
145: }
146:
147: synchronized void die() {
148: }
149: }
|