Packages

object Typeable extends TupleTypeableInstances with LowPriorityTypeable with Serializable

Provides instances of Typeable. Also provides an implicit conversion which enhances arbitrary values with a cast[T] method.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Typeable
  2. Serializable
  3. Serializable
  4. LowPriorityTypeable
  5. TupleTypeableInstances
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ValueTypeable [T, B](cB: Class[B], describe: String) extends Typeable[T] with Product with Serializable

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. implicit val anyRefTypeable: Typeable[AnyRef]

    Typeable instance for AnyRef.

  5. implicit val anyTypeable: Typeable[Any]

    Typeable instance for Any.

  6. implicit val anyValTypeable: Typeable[AnyVal]

    Typeable instance for AnyVal.

  7. def apply[T](implicit castT: Typeable[T]): Typeable[T]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. implicit val booleanTypeable: Typeable[Boolean]

    Typeable instance for Boolean.

  10. implicit val byteTypeable: Typeable[Byte]

    Typeable instance for Byte.

  11. def caseClassTypeable[T](erased: Class[T], fields: Array[Typeable[_]]): Typeable[T]

    Typeable instance for polymorphic case classes with typeable elements

  12. implicit val charTypeable: Typeable[Char]

    Typeable instance for Char.

  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. implicit val cnilTypeable: Typeable[CNil]

    Typeable instance for CNil.

  15. implicit def coproductTypeable[H, T <: Coproduct](implicit castH: Typeable[H], castT: Typeable[T]): Typeable[:+:[H, T]]

    Typeable instance for Coproducts.

    Typeable instance for Coproducts. Note that the contents will be tested for conformance to one of the element types.

  16. implicit macro def dfltTypeable[T]: Typeable[T]
    Definition Classes
    LowPriorityTypeable
  17. implicit val doubleTypeable: Typeable[Double]

    Typeable instance for Double.

  18. implicit def eitherTypeable[A, B](implicit castA: Typeable[A], castB: Typeable[B]): Typeable[Either[A, B]]

    Typeable instance for Either.

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. implicit val floatTypeable: Typeable[Float]

    Typeable instance for Float.

  23. implicit def genMapTypeable[M[X, Y], K, V](implicit ev: <:<[M[K, V], GenMap[K, V]], mM: ClassTag[M[_, _]], castK: Typeable[K], castV: Typeable[V]): Typeable[M[K, V]]

    Typeable instance for Map.

    Typeable instance for Map. Note that the contents will be tested for conformance to the key/value types.

  24. implicit def genTraversableTypeable[CC[X] <: GenTraversable[X], T](implicit mCC: ClassTag[CC[_]], castT: Typeable[T]): Typeable[CC[T] with GenTraversable[T]]

    Typeable instance for GenTraversable.

    Typeable instance for GenTraversable. Note that the contents be will tested for conformance to the element type.

  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  27. implicit def hlistTypeable[H, T <: HList](implicit castH: Typeable[H], castT: Typeable[T]): Typeable[::[H, T]]

    Typeable instance for HLists.

    Typeable instance for HLists. Note that the contents will be tested for conformance to the element types.

  28. implicit val hnilTypeable: Typeable[HNil]

    Typeable instance for HNil.

  29. implicit def inlTypeable[H, T <: Coproduct](implicit castH: Typeable[H]): Typeable[Inl[H, T]]

    Typeable instance for Inl.

  30. implicit def inrTypeable[H, T <: Coproduct](implicit castT: Typeable[T]): Typeable[Inr[H, T]]

    Typeable instance for Inr.

  31. implicit val intTypeable: Typeable[Int]

    Typeable instance for Int.

  32. def intersectionTypeable[T](parents: Array[Typeable[_]]): Typeable[T]

    Typeable instance for intersection types with typeable parents

  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isValClass[T](clazz: Class[T]): Boolean
  35. implicit def leftTypeable[A, B](implicit castA: Typeable[A]): Typeable[Left[A, B]]

    Typeable instance for Left.

  36. implicit val longTypeable: Typeable[Long]

    Typeable instance for Long.

  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  40. implicit def optionTypeable[T](implicit castT: Typeable[T]): Typeable[Option[T]]

    Typeable instance for Option.

  41. def referenceSingletonTypeable[T <: AnyRef](value: T, name: String, serializable: Boolean): Typeable[T]

    Typeable instance for singleton reference types

    Typeable instance for singleton reference types

    value

    The singleton value

    name

    The name of the singleton

    serializable

    Whether the instance should be serializable. For singleton types of object definitions and symbols, this should be true, since they preserve their identity after serialization/deserialization. For other cases, it should be false, since the deserialized instance wouldn't work correctly.

  42. def referenceSingletonTypeable[T <: AnyRef](value: T, name: String): Typeable[T]

    Typeable instance for singleton reference types (not serializable by default)

  43. implicit def rightTypeable[A, B](implicit castB: Typeable[B]): Typeable[Right[A, B]]

    Typeable instance for Right.

  44. implicit val shortTypeable: Typeable[Short]

    Typeable instance for Short.

  45. def simpleTypeable[T](erased: Class[T]): Typeable[T]

    Typeable instance for simple monomorphic types

  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. implicit def tuple10Typeable[A, B, C, D, E, F, G, H, I, J](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J]): Typeable[(A, B, C, D, E, F, G, H, I, J)]
    Definition Classes
    TupleTypeableInstances
  49. implicit def tuple11Typeable[A, B, C, D, E, F, G, H, I, J, K](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K]): Typeable[(A, B, C, D, E, F, G, H, I, J, K)]
    Definition Classes
    TupleTypeableInstances
  50. implicit def tuple12Typeable[A, B, C, D, E, F, G, H, I, J, K, L](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L)]
    Definition Classes
    TupleTypeableInstances
  51. implicit def tuple13Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M)]
    Definition Classes
    TupleTypeableInstances
  52. implicit def tuple14Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N)]
    Definition Classes
    TupleTypeableInstances
  53. implicit def tuple15Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)]
    Definition Classes
    TupleTypeableInstances
  54. implicit def tuple16Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)]
    Definition Classes
    TupleTypeableInstances
  55. implicit def tuple17Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P], castQ: Typeable[Q]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)]
    Definition Classes
    TupleTypeableInstances
  56. implicit def tuple18Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P], castQ: Typeable[Q], castR: Typeable[R]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)]
    Definition Classes
    TupleTypeableInstances
  57. implicit def tuple19Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P], castQ: Typeable[Q], castR: Typeable[R], castS: Typeable[S]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)]
    Definition Classes
    TupleTypeableInstances
  58. implicit def tuple1Typeable[A](implicit castA: Typeable[A]): Typeable[(A)]
    Definition Classes
    TupleTypeableInstances
  59. implicit def tuple20Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P], castQ: Typeable[Q], castR: Typeable[R], castS: Typeable[S], castT: Typeable[T]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)]
    Definition Classes
    TupleTypeableInstances
  60. implicit def tuple21Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P], castQ: Typeable[Q], castR: Typeable[R], castS: Typeable[S], castT: Typeable[T], castU: Typeable[U]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)]
    Definition Classes
    TupleTypeableInstances
  61. implicit def tuple22Typeable[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I], castJ: Typeable[J], castK: Typeable[K], castL: Typeable[L], castM: Typeable[M], castN: Typeable[N], castO: Typeable[O], castP: Typeable[P], castQ: Typeable[Q], castR: Typeable[R], castS: Typeable[S], castT: Typeable[T], castU: Typeable[U], castV: Typeable[V]): Typeable[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)]
    Definition Classes
    TupleTypeableInstances
  62. implicit def tuple2Typeable[A, B](implicit castA: Typeable[A], castB: Typeable[B]): Typeable[(A, B)]
    Definition Classes
    TupleTypeableInstances
  63. implicit def tuple3Typeable[A, B, C](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C]): Typeable[(A, B, C)]
    Definition Classes
    TupleTypeableInstances
  64. implicit def tuple4Typeable[A, B, C, D](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D]): Typeable[(A, B, C, D)]
    Definition Classes
    TupleTypeableInstances
  65. implicit def tuple5Typeable[A, B, C, D, E](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E]): Typeable[(A, B, C, D, E)]
    Definition Classes
    TupleTypeableInstances
  66. implicit def tuple6Typeable[A, B, C, D, E, F](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F]): Typeable[(A, B, C, D, E, F)]
    Definition Classes
    TupleTypeableInstances
  67. implicit def tuple7Typeable[A, B, C, D, E, F, G](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G]): Typeable[(A, B, C, D, E, F, G)]
    Definition Classes
    TupleTypeableInstances
  68. implicit def tuple8Typeable[A, B, C, D, E, F, G, H](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H]): Typeable[(A, B, C, D, E, F, G, H)]
    Definition Classes
    TupleTypeableInstances
  69. implicit def tuple9Typeable[A, B, C, D, E, F, G, H, I](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C], castD: Typeable[D], castE: Typeable[E], castF: Typeable[F], castG: Typeable[G], castH: Typeable[H], castI: Typeable[I]): Typeable[(A, B, C, D, E, F, G, H, I)]
    Definition Classes
    TupleTypeableInstances
  70. implicit val unitTypeable: Typeable[Unit]

    Typeable instance for Unit.

  71. def valueSingletonTypeable[T](value: T, name: String): Typeable[T]

    Typeable instance for singleton value types

  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from LowPriorityTypeable

Inherited from TupleTypeableInstances

Inherited from AnyRef

Inherited from Any

Ungrouped