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.
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.
Type parameters
B
New type of resulting JList elements
Value parameters
converter
Implicit converter to convert from A to B.
Attributes
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: