Open bjornregnell opened 1 day ago
Show also Object.deepEquals https://stackoverflow.com/questions/63686721/best-replacement-of-deep-method-in-scala-2-13
scala> java.util.Arrays.deepEquals(
| Array(Array("a", Array("b"))).asInstanceOf[Array[Object]],
| Array(Array("a", Array("b"))).asInstanceOf[Array[Object]])
val res9: Boolean = true
scala> java.util.Objects.deepEquals(
| Array(Array("a", Array("b"))),
| Array(Array("a", Array("b"))))
val res10: Boolean = true
Make extra slide with conrete example of deepEquals where arrays are cast to Array[Object]