An abstract base class that simplifies the task of creating map decorators.
The Map API is very difficult to decorate correctly, and involves implementing
lots of different classes. This class exists to provide a simpler API.
Special hook methods are provided that are called when objects are added to
the map. By overriding these methods, the input can be validated or manipulated.
In addition to the main map methods, the entrySet is also affected, which is
the hardest part of writing map implementations.
This class is package-scoped, and may be withdrawn or replaced in future
versions of Commons Collections.
since: Commons Collections 3.1 version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $ author: Stephen Colebourne |