=================================== README for COMP204-07B Assignment 1 =================================== This is the first of six assignments for COMP204-07B. The purpose of this exercise is to test some of the ideas and concepts about Java as discussed in class in the first two weeks. In this assignment you will write a Java class that implements an immutable set of arbitrary objects. Your class should support typed sets (like any collection class). The best way to implement ImmutableSet would be by way of composition, using some existing Set class. Make sure to implement the two constructors specified in the ImmutableSet.java template and no others. Make sure your implementation of ImmutableSet passes all the test cases specified in the test class TestImmutableSet, which is stored in TestImmutableSet.java. To execute the tests, simply run TestImmutableSet.java as a Java application. This will perform the specified tests on the methods in your ImmutableSet class. To get marks for this assignment, your class MUST pass ALL the test cases. Note especially the test case that tries to corrupt your immutable set implementation by defining a subclass which provides a mutator method (ShouldNotCompile.java). You can prevent against such circumvention in at least two different ways. Once you are happy with your code, submit it using the online submission system. This submission system will be linked to from the course home page. Note that you can only submit from computers *on* campus, including the lab.