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.
- Alphabetic
- By Inheritance
- Typeable
- Serializable
- Serializable
- LowPriorityTypeable
- TupleTypeableInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class ValueTypeable[T, B](cB: Class[B], describe: String) extends Typeable[T] with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
anyRefTypeable: Typeable[AnyRef]
Typeable instance for
AnyRef
. -
implicit
val
anyTypeable: Typeable[Any]
Typeable instance for
Any
. -
implicit
val
anyValTypeable: Typeable[AnyVal]
Typeable instance for
AnyVal
. - def apply[T](implicit castT: Typeable[T]): Typeable[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
val
booleanTypeable: Typeable[Boolean]
Typeable instance for
Boolean
. -
implicit
val
byteTypeable: Typeable[Byte]
Typeable instance for
Byte
. -
def
caseClassTypeable[T](erased: Class[T], fields: Array[Typeable[_]]): Typeable[T]
Typeable instance for polymorphic case classes with typeable elements
-
implicit
val
charTypeable: Typeable[Char]
Typeable instance for
Char
. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
val
cnilTypeable: Typeable[CNil]
Typeable instance for
CNil
. -
implicit
def
coproductTypeable[H, T <: Coproduct](implicit castH: Typeable[H], castT: Typeable[T]): Typeable[:+:[H, T]]
Typeable instance for
Coproduct
s.Typeable instance for
Coproduct
s. Note that the contents will be tested for conformance to one of the element types. -
implicit macro
def
dfltTypeable[T]: Typeable[T]
- Definition Classes
- LowPriorityTypeable
-
implicit
val
doubleTypeable: Typeable[Double]
Typeable instance for
Double
. -
implicit
def
eitherTypeable[A, B](implicit castA: Typeable[A], castB: Typeable[B]): Typeable[Either[A, B]]
Typeable instance for
Either
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
val
floatTypeable: Typeable[Float]
Typeable instance for
Float
. -
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. -
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. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
def
hlistTypeable[H, T <: HList](implicit castH: Typeable[H], castT: Typeable[T]): Typeable[::[H, T]]
Typeable instance for
HList
s.Typeable instance for
HList
s. Note that the contents will be tested for conformance to the element types. -
implicit
val
hnilTypeable: Typeable[HNil]
Typeable instance for
HNil
. -
implicit
def
inlTypeable[H, T <: Coproduct](implicit castH: Typeable[H]): Typeable[Inl[H, T]]
Typeable instance for
Inl
. -
implicit
def
inrTypeable[H, T <: Coproduct](implicit castT: Typeable[T]): Typeable[Inr[H, T]]
Typeable instance for
Inr
. -
implicit
val
intTypeable: Typeable[Int]
Typeable instance for
Int
. -
def
intersectionTypeable[T](parents: Array[Typeable[_]]): Typeable[T]
Typeable instance for intersection types with typeable parents
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isValClass[T](clazz: Class[T]): Boolean
-
implicit
def
leftTypeable[A, B](implicit castA: Typeable[A]): Typeable[Left[A, B]]
Typeable instance for
Left
. -
implicit
val
longTypeable: Typeable[Long]
Typeable instance for
Long
. -
def
namedCaseClassTypeable[T](erased: Class[T], fields: Array[Typeable[_]], name: ⇒ String): Typeable[T]
Typeable instance for polymorphic case classes with typeable elements, specifying the name explicitly.
-
def
namedSimpleTypeable[T](erased: Class[T], name: ⇒ String): Typeable[T]
Typeable instance for simple monomorphic types, specifying the name explicitly
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
optionTypeable[T](implicit castT: Typeable[T]): Typeable[Option[T]]
Typeable instance for
Option
. -
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.
-
def
referenceSingletonTypeable[T <: AnyRef](value: T, name: String): Typeable[T]
Typeable instance for singleton reference types (not serializable by default)
-
implicit
def
rightTypeable[A, B](implicit castB: Typeable[B]): Typeable[Right[A, B]]
Typeable instance for
Right
. -
implicit
val
shortTypeable: Typeable[Short]
Typeable instance for
Short
. -
def
simpleTypeable[T](erased: Class[T]): Typeable[T]
Typeable instance for simple monomorphic types
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
implicit
def
tuple1Typeable[A](implicit castA: Typeable[A]): Typeable[(A)]
- Definition Classes
- TupleTypeableInstances
-
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
-
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
-
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
-
implicit
def
tuple2Typeable[A, B](implicit castA: Typeable[A], castB: Typeable[B]): Typeable[(A, B)]
- Definition Classes
- TupleTypeableInstances
-
implicit
def
tuple3Typeable[A, B, C](implicit castA: Typeable[A], castB: Typeable[B], castC: Typeable[C]): Typeable[(A, B, C)]
- Definition Classes
- TupleTypeableInstances
-
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
-
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
-
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
-
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
-
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
-
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
- def unapply[T](t: Any)(implicit arg0: Typeable[T]): Option[T]
-
implicit
val
unitTypeable: Typeable[Unit]
Typeable instance for
Unit
. -
def
valueSingletonTypeable[T](value: T, name: String): Typeable[T]
Typeable instance for singleton value types
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )