Class HW4

java.lang.Object
  |
  +--HW4

public class HW4
extends java.lang.Object


Constructor Summary
HW4()
          Constructor just constructs a DataSource to be used for all exercises.
 
Method Summary
static void main(java.lang.String[] args)
          A driver, in case you want to use it.
 void runExercise(int exerciseNum)
          This routine causes exercise 'exerciseNum' to be run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HW4

public HW4()
Constructor just constructs a DataSource to be used for all exercises. The first argument (15) is the number of rectangles to generate as data. The second argument (9722321) is arbitrary. Change it to get different random (but repeatable) data.
Method Detail

runExercise

public void runExercise(int exerciseNum)
This routine causes exercise 'exerciseNum' to be run. The only implementation in here now is for exercise 0, the null exercise, written just to show the control flow. (We don't even care exercise is asked for, we just execute exercise 0 in this skeleton code.)

main

public static void main(java.lang.String[] args)
A driver, in case you want to use it.