SWE 619 Assignment 3
Spring 2013


Goal: Data Abstraction / Mutability.

Rewrite Liskov's Poly so that it is mutable. Also, change the representation so that it is

   List trms;
That is, drop the deg instance variable and change the trms variable to be a list instead of an array.

Rewrite the overview, the method signatures, the method specifications, and the methods themselves. You do not need to rewrite the abstraction function and representation invariant for this exercise.

Note: You should be able to use the implementations given in Liskov with relatively minor changes. A version of Liskov's Poly is available here. If anyone notices any bugs in this implementation, let me know, and I will fix them.

Provide a decent set of JUnit tests.