|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectchordDiagrams.Driver
public class Driver
The driver class to do the work.
Field Summary | |
---|---|
(package private) int |
choice
User option |
(package private) int |
k
number of links |
(package private) int |
n
number of chords |
(package private) java.util.Scanner |
sc
Scanner to read from the input |
Constructor Summary | |
---|---|
Driver()
|
Method Summary | |
---|---|
void |
DoStuff()
Method that does work |
boolean |
GetData()
Gets input from user and initializes variables |
static void |
main(java.lang.String[] args)
|
void |
PrintHelp()
Prints info about choices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.util.Scanner sc
int n
int k
int choice
Constructor Detail |
---|
public Driver()
Method Detail |
---|
public boolean GetData()
public void PrintHelp()
public void DoStuff()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |