JConverter

com.daodecode.scalaj.collection.JConverter$
See theJConverter companion trait

Companion object of JConverter to bring implicit converters in following order

  • collection converters defined here
  • converters for primitive types defined in PrimitivesJConverter
  • "self" converter for fallback

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JConverter.type

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
trait JConverter[Int, JInt]
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesJConverter
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A, B](c: A => B): JConverter[A, B]

Implicits

Implicits

implicit def arrayConverter[A, B : ClassTag](implicit evidence$1: ClassTag[B], converter: JConverter[A, B]): JConverter[Array[A], Array[B]]

Attributes

Returns

converter for converting Java scala.Array to Java scala.Array :). Given converter used to convert elements of the array

implicit def mapConverter[A, B, C, D](implicit keyConverter: JConverter[A, C], valueConverter: JConverter[B, D]): JConverter[Map[A, B], Map[C, D]]

Attributes

Returns

converter for converting Scala scala.collection.Map to Java JMap. Given converters used to convert keys and values of Scala map

implicit def seqConverter[A, B](implicit converter: JConverter[A, B]): JConverter[Seq[A], List[B]]

Attributes

Returns

converter for converting Scala scala.collection.Seq to Java JList. Given converter used to convert elements of Scala seq

implicit def setConverter[A, B](implicit converter: JConverter[A, B]): JConverter[Set[A], Set[B]]

Attributes

Returns

converter for converting Scala scala.collection.Set to Java JSet. Given converter used to convert elements of Scala set

Inherited implicits

implicit def selfConverter[A]: JConverter[A, A]

Attributes

Inherited from:
LowImplicitSelfJConverter