=================================== README for COMP204-08S Assignment 1 =================================== This is the first assignment for COMP204-08S. 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. This assignment is due Monday 28 July, 5pm ---------------------------------------------------------------------- ImmutableMap For this assignment you will write a Java class that implements an immutable map. Your class should support types like any map class. The best way to implement ImmutableMap would be by way of composition, using some existing Map class in java.util. Make sure to implement the two constructors specified in the ImmutableMap.java template and no others. Make sure your implementation of ImmutableMap passes all the test cases specified in the test class TestImmutableMap, which is stored in TestImmutableMap.java. To execute the tests, simply run TestImmutableMap.java as a Java application. This will perform the specified tests on the methods in your ImmutableMap class. Your class should pass ALL the test cases. Also note the test case that tries to corrupt your immutable map implementation by defining a subclass which provides a mutator method (ShouldNotCompile.java). You can prevent against such circumvention in at least two different ways.