| Decorates another Set to validate that elements
added are of a specific type.
The validation of additions is performed via an instanceof test against
a specified Class . If an object cannot be added to the
collection, an IllegalArgumentException is thrown.
since: Commons Collections 3.0 version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $ author: Stephen Colebourne author: Matthew Hawthorne |