Converts given array of A to array of B.
Converts given array of A to array of B.
Elements inside array are converted using given implicit converter
,
which allows to convert nested Java collections and primitives.
New type of resulting array elements
Implicit converter to convert from A
to B
Same array if elements of given array are primitives or anything but supported Java collections or primitive wrappers, new array otherwise Example:
scala> val ja = Array(java.util.Arrays.asList[JInt](1,2,3)) ja: Array[java.util.List[com.daodecode.scalaj.collection.JInt]] = Array([1, 2, 3]) scala> ja.deepAsScala res0: Array[scala.collection.mutable.Buffer[Int]] = Array(Buffer(1, 2, 3))