COMP2396
Loading...
Searching...
No Matches
MyRunnable Class Reference
Inheritance diagram for MyRunnable:
Collaboration diagram for MyRunnable:

Public Member Functions

void doMore ()
 
void go ()
 
void run ()
 

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Definition at line 1 of file MyRunnable.java.

Member Function Documentation

◆ doMore()

void MyRunnable.doMore ( )
inline

Definition at line 6 of file MyRunnable.java.

6 {
7 System.out.println("top of the stack");
8 }

Referenced by go().

Here is the caller graph for this function:

◆ go()

void MyRunnable.go ( )
inline

Definition at line 4 of file MyRunnable.java.

4{ doMore(); }
void doMore()

References doMore().

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

static void MyRunnable.main ( String[] args)
inlinestatic

Definition at line 10 of file MyRunnable.java.

10 {
11 Runnable threadJob = new MyRunnable();
12 Thread myThread = new Thread(threadJob);
13 myThread.start();
14 System.out.println("back in main");
15 }

◆ run()

void MyRunnable.run ( )
inline

Definition at line 2 of file MyRunnable.java.

2{ go(); }
void go()

References go().

Here is the call graph for this function:

The documentation for this class was generated from the following file: