Favoring composition over inheritance. Bloch, Item 16.
InstrumentedSet example from
Bloch Item 16 (as well as in-class exercise #10A).
equals()no longer satisfies its contract.
equals()? If so, give a JUnit test. If not, why not? If you're not sure, simply run the code.
The GTA will look for correct responses, appropriate JUnit tests, and plausible explanations when doing the grading.