WDMSim

wdmsim
Class Main

java.lang.Object
  extended by wdmsim.Main

public class Main
extends java.lang.Object

The Main class takes care of the execution of the simulator, which includes dealing with the arguments called (or not) on the command line.

Author:
andred

Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
          Instantiates a Simulator object and takes the arguments from the command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)
Instantiates a Simulator object and takes the arguments from the command line. Based on the number of arguments, can detect if there are too many or too few, which prints a message teaching how to run WDMSim. If the number is correct, detects which arguments were applied and makes sure they have the expected effect.

Parameters:
args - the command line arguments

WDMSim