scala/scala — pull request #3302 by Ichoran (2013-12-24 00:21:15+00:00)
Title: Resolves SI-6364, O(n) performance of wrapped set contains.

Added overrides for contains and isEmpty to SetWrapper. Note that sets are
invariant in Scala, while the Java signature is for any Object, so we trap
a ClassCastException if one occurs. (Is this everything that could possibly
go wrong? I think so, but am not as confident as I would like.)