Class

com.daodecode.scalaj.collection

DeepSeqAsJavaList

Related Doc: package collection

Permalink

implicit final class DeepSeqAsJavaList[A] extends AnyVal

****************************************** deepAsJava converters *******************************************

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

Instance Constructors

  1. new DeepSeqAsJavaList(scalaSeq: Seq[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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def deepAsJava[B](implicit converter: JConverter[A, B]): collection.JList[B]

    Permalink

    Converts given Scala scala.collection.Seq to Java JList.

    Converts given Scala scala.collection.Seq to Java JList. Elements inside seq are converted using given implicit converter, which allows to convert nested Scala collections and primitives. If given seq is mutable, then returned Java list is mutable as well.

    B

    New type of resulting JList elements

    converter

    Implicit converter to convert from A to B.

    returns

    Java list wrapper around given seq if given seq elements are primitives or anything but supported Scala collections. Wrapper around new seq otherwise. Example:

    scala> val s = Seq(Seq(1,2), Seq(), Seq(3))
    s: Seq[Seq[Int]] = List(List(1, 2), List(), List(3))
    scala> s.deepAsJava
    res0: com.daodecode.scalaj.collection.package.JList[com.daodecode.scalaj.collection.JList[com.daodecode.scalaj.collection.JInt]] = [[1, 2], [], [3]]
  6. def getClass(): Class[_ <: AnyVal]

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

    Permalink
    Definition Classes
    Any
  8. val scalaSeq: Seq[A]

    Permalink
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped