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. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  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. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. implicit val intToStringValue: ToStringValue[Int]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. implicit def listToValue[A](implicit toValueA: ToStringValue[A]): ToValue[List[A]]
  16. implicit def listTuplesToValue[A](implicit toValueA: ToStringValue[A]): ToValue[List[(String, A)]]
  17. implicit val longToStringValue: ToStringValue[Long]
  18. 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)))
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. 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))
  23. 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)))
  24. implicit val stringToStringValue: ToStringValue[String]

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

Inherited from AnyRef

Inherited from Any

Ungrouped