chordDiagrams
Class Driver

java.lang.Object
  extended by chordDiagrams.Driver

public class Driver
extends java.lang.Object

The driver class to do the work.

Author:
Romwell

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

sc

java.util.Scanner sc
Scanner to read from the input


n

int n
number of chords


k

int k
number of links


choice

int choice
User option

Constructor Detail

Driver

public Driver()
Method Detail

GetData

public boolean GetData()
Gets input from user and initializes variables


PrintHelp

public void PrintHelp()
Prints info about choices


DoStuff

public void DoStuff()
Method that does work


main

public static void main(java.lang.String[] args)