Since {@link Set} doesn't stipulate much new behavior that isn't alreadyfound in {@link Collection}, this class basically just adds tests for {@link Set#equals} and {@link Set#hashCode()} along with an updated{@link #verify()} that ensures elements do not appear more than once in theset.
To use, subclass and override the {@link #makeEmptySet()}method. You may have to override other protected methods if your set is not modifiable, or if your set restricts what kinds of elements may be added; see {@link AbstractTestCollection} for more details. @since Commons Collections 3.0 @version $Revision: 1.5 $ $Date: 2004/05/31 19:09:14 $ @author Paul Jack
|
|