JortSort: Difference between revisions
Content added Content deleted
Keithpinson (talk | contribs) (Updated for compatibility with Scala 3) |
|||
Line 1,380: | Line 1,380: | ||
=={{header|Scala}}== |
=={{header|Scala}}== |
||
As of Scala 2.13, the .deep method has been removed from Array. |
|||
The Java deepEquals() method will work as a replacement. |
|||
<lang scala> |
<lang scala> |
||
import java.util.Objects.deepEquals |
|||
⚫ | |||
⚫ | |||
deepEquals(a.sorted, a) |
|||
</lang> |
</lang> |
||