SConverter

com.daodecode.scalaj.collection.SConverter$
See theSConverter companion trait

Companion object of SConverter to bring implicit converters in following order

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

Attributes

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

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
trait SConverter[JInt, Int]
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
PrimitivesSConverter
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Implicits

Implicits

implicit def arrayConverter[A, B : ClassTag](implicit evidence$1: ClassTag[B], converter: SConverter[A, B]): SConverter[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 jListConverter[A, B](implicit converter: SConverter[A, B]): SConverter[List[A], Buffer[B]]

Attributes

Returns

converter for converting Java JList to mutable Scala scala.collection.mutable.Buffer. Given converter used to convert elements of Java list

implicit def jMapConverter[A, B, C, D](implicit keyConverter: SConverter[A, C], valueConverter: SConverter[B, D]): SConverter[Map[A, B], Map[C, D]]

Attributes

Returns

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

implicit def jSetConverter[A, B](implicit converter: SConverter[A, B]): SConverter[Set[A], Set[B]]

Attributes

Returns

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

Inherited implicits

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

Attributes

Inherited from:
LowImplicitSelfSConverter