Class

com.daodecode.scalaj.collection

DeepArrayAsJavaArray

Related Doc: package collection

Permalink

implicit final class DeepArrayAsJavaArray[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeepArrayAsJavaArray
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeepArrayAsJavaArray(array: Array[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. val array: Array[A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def deepAsJava[B](implicit arg0: ClassTag[B], converter: JConverter[A, B]): Array[B]

    Permalink

    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 Scala collections and primitives.

    B

    New type of resulting array elements

    converter

    Implicit converter to convert from A to B

    returns

    Same array if elements of given array are primitives or anything but supported Scala collections, new array otherwise Example:

    scala> val la = Array(Set(1L), Set(2L, 3L))
    la: Array[scala.collection.immutable.Set[Long]] = Array(Set(1), Set(2, 3))
    scala> la.deepAsJava
    res0: Array[com.daodecode.scalaj.collection.JSet[com.daodecode.scalaj.collection.JLong]] = Array([1], [2, 3])
  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped