Instead of building an
complete the implementation of a generic version
and compare it to this generic version of
Note that the rep has been chosen for you.
Your code should be pretty simple. It won't
be quite as simple
as the set version, but it will be close.
You should also implement
To answer Liskov's question about subtype relationships, find a relevant "Properties" rule. Your should code this up as an appropriate JUnit test.
Make it very easy for the GTA to understand your analysis of the subtyping question.
Again, I expect to see a robust discussion on Piazza about a relevant property.