Skip to content

Instantly share code, notes, and snippets.

@knight76
Created September 25, 2019 04:36
Show Gist options
  • Save knight76/82d3bf952ec5ae83a93b9f8ce8d3a6f8 to your computer and use it in GitHub Desktop.
Save knight76/82d3bf952ec5ae83a93b9f8ce8d3a6f8 to your computer and use it in GitHub Desktop.
java array iteration in Scala
scala> java.util.Arrays.asList("1", "2").toArray.foreach(println)
1
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment