final class TypeableOps[T] extends AnyVal with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TypeableOps
- Serializable
- Serializable
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TypeableOps(t: T)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cast[U](implicit castU: Typeable[U]): Option[U]
Cast the receiver to a value of type
U
if possible.Cast the receiver to a value of type
U
if possible. This operation will be as precise wrt erasure as possible given the in-scopeTypeable
instances available. -
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
narrowTo[U <: T](implicit castU: Typeable[U]): Option[U]
Cast the receiver to a value of subtype
U
of the receiver's static type if possible.Cast the receiver to a value of subtype
U
of the receiver's static type if possible. This operation will be as precise wrt erasure as possible given the in-scopeTypeable
instances available. - val t: T
-
def
toString(): String
- Definition Classes
- Any