/** * Instantiate my collections with empty versions using Collections fields. * This will result in javac compiler warnings stating "warning: [unchecked] * unchecked ...
One of the nasty little traps a Java developer can run into occurs when Collection.contains(Object) is not used with appropriate understanding. I demonstrate this potential trap in this post. This is ...