object ToValue

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ToValue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](implicit instance: ToValue[A]): ToValue[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. implicit def enumToStringValue[E <: Enumeration]: ToStringValue[ToValue.enumToStringValue.E.Value]

    >>> object WeekDays extends Enumeration { val Mon,Tue,Wed,Thu,Fri = Value }
    >>> ToValue[WeekDays.Value].apply(WeekDays.Tue)
    StringValue(Tue)
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. implicit val intToStringValue: ToStringValue[Int]
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. implicit def listToValue[A](implicit toValueA: ToStringValue[A]): ToValue[List[A]]
  15. implicit def listTuplesToValue[A](implicit toValueA: ToStringValue[A]): ToValue[List[(String, A)]]
  16. implicit val longToStringValue: ToStringValue[Long]
  17. implicit def mapToValue[V](implicit toValueV: ToStringValue[V]): ToValue[Map[String, V]]

    >>> ToValue[Map[String, Int]].apply(Map("one" -> 1, "two" -> 2, "three" -> 3))
    AssociativeArray(List((one,1), (two,2), (three,3)))
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. implicit def seqToValue[A](implicit toValueA: ToStringValue[A]): ToValue[Seq[A]]

    >>> ToValue[Seq[String]].apply(Seq("red", "green", "blue"))
    ListValue(List(red, green, blue))
    
    >>> ToValue[List[String]].apply(List("red", "green", "blue"))
    ListValue(List(red, green, blue))
    
    >>> ToValue[Vector[String]].apply(Vector("red", "green", "blue"))
    ListValue(Vector(red, green, blue))
    
    >>> ToValue[Vector[Int]].apply(Vector(1, 2, 3))
    ListValue(Vector(1, 2, 3))
  22. implicit def seqTuplesToValue[A](implicit toValueA: ToStringValue[A]): ToValue[Seq[(String, A)]]

    >>> ToValue[Seq[(String, Int)]].apply(Seq("one" -> 1, "two" -> 2, "three" -> 3))
    AssociativeArray(List((one,1), (two,2), (three,3)))
    
    >>> ToValue[List[(String, Int)]].apply(List("one" -> 1, "two" -> 2, "three" -> 3))
    AssociativeArray(List((one,1), (two,2), (three,3)))
    
    >>> ToValue[Vector[(String, Int)]].apply(Vector("one" -> 1, "two" -> 2, "three" -> 3))
    AssociativeArray(Vector((one,1), (two,2), (three,3)))
  23. implicit val stringToStringValue: ToStringValue[String]

    >>> ToValue[String].apply("woo")
    StringValue(woo)
    
    >>> ToValue[Int].apply(42)
    StringValue(42)
    
    >>> ToValue[Long].apply(42L)
    StringValue(42)
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. implicit def vectorToValue[A](implicit toValueA: ToStringValue[A]): ToValue[Vector[A]]
  27. implicit def vectorTuplesToValue[A](implicit toValueA: ToStringValue[A]): ToValue[Vector[(String, A)]]
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped