We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 983aed8 commit 49835f4Copy full SHA for 49835f4
library/src/scala/collection/convert/JavaCollectionWrappers.scala
@@ -552,6 +552,13 @@ private[collection] object JavaCollectionWrappers extends Serializable {
552
} catch {
553
case ex: ClassCastException => null.asInstanceOf[V]
554
}
555
+
556
+ override def equals(other: Any): Boolean = other match {
557
+ case that: DictionaryWrapper[_, _] => this.underlying == that.underlying
558
+ case _ => false
559
+ }
560
561
+ override def hashCode: Int = underlying.hashCode()
562
563
564
@SerialVersionUID(3L)
0 commit comments